Notifications not visible for certain days
Ludo Bosmans
Ludo.Bosmans at aureusim.be
Fri Jul 1 23:13:47 CEST 2005
Sudhir,
Was there an adjustment of the system time on your nagios server ?
When system time is adapted and time is stepped back, this cause strange results. Convert the epoch date in the two archives files to spit it out.
To avoid such problems, sync your nagios server clock with xntpd.
kind regards,
ludo
________________________________
Van: nagios-users-admin at lists.sourceforge.net namens Sudhir Mahale
Verzonden: vr 1/07/2005 15:43
Aan: nagios-users at lists.sourceforge.net
Onderwerp: [Nagios-users] Notifications not visible for certain days
All,
I am running Nagios 1.2 and am facing this problem in vieiwing notifications for particular
days.
I do not see any notifications for particular days. During the day I see notifications being
recorded. But the next day, after the log rotation the notifications disappear.If i go to
Notifications => Earlier archive in the web interface, I see the message "No notifications have
been recorded in this archived log file"
I checked the var/archives and found that for the days that notifications are missing we have
two archive files, for example one nagios-06-30-2005-00.log and the other
nagios-06-30-2005-23.log
For the days that we see the notifications, only one archive file , for example
nagios-06-29-2005-00.log is seen
Any help will be greatly appreciated.
I use "24x7" for all my servers and "test" for one of the test boxes
Thanks,
Sudhir
Note:-
My time periods definition looks like this
# '24x7' timeperiod definition
define timeperiod{
timeperiod_name 24x7
alias 24 Hours A Day, 7 Days A Week
sunday 08:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-20:00
}
# 'test' timeperiod definition
define timeperiod{
timeperiod_name test_ftmfedora
alias Test time period for ftmfedora
sunday 08:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-22:20
friday 00:00-22:20
saturday 00:00-20:00
}
# 'workhours' timeperiod definition
define timeperiod{
timeperiod_name workhours
alias "Normal" Working Hours
monday 09:00-17:00
tuesday 09:00-17:00
wednesday 09:00-17:00
thursday 09:00-17:00
friday 09:00-17:00
}
# 'nonworkhours' timeperiod definition
define timeperiod{
timeperiod_name nonworkhours
alias Non-Work Hours
sunday 00:00-24:00
monday 00:00-09:00,17:00-24:00
tuesday 00:00-09:00,17:00-24:00
wednesday 00:00-09:00,17:00-24:00
thursday 00:00-09:00,17:00-24:00
friday 00:00-09:00,17:00-24:00
saturday 00:00-24:00
}
# 'none' timeperiod definition
define timeperiod{
timeperiod_name none
alias No Time Is A Good Time
}
___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050701/8e2df6d7/attachment.html>
More information about the Users
mailing list