Hi all,I have a self-compiled nagios 3.0.5 running on a 64-bit Xeon box with Ubuntu 8.04 LTS. Everything went perfectly (including notifications) until I upgraded from 3.0.1 (iirc) to 3.0.5 during a bigger service downtime (inter alia shifting the box into an other network etc).
In nagios.debug, I see messages like (nagios time stamps converted for better readability)
<snip>[Mon Dec 1 08:25:19 2008] [032.0] [pid=6660] Notification viability test failed. No notification will be sent out. [Mon Dec 1 08:26:19 2008] [032.0] [pid=6660] ** Service Notification Attempt ** Host: 'np-hpclj4650', Service: 'Printer Status', Type: 0, Options: 0, Current State: 1, Last Notification: Thu Jan 1 01:00:00 1970 [Mon Dec 1 08:26:19 2008] [032.1] [pid=6660] This service shouldn't have notifications sent out at this time. [Mon Dec 1 08:26:19 2008] [032.1] [pid=6660] Next possible notification time: Mon Dec 1 08:30:00 2008
[...][Mon Dec 1 08:35:19 2008] [032.0] [pid=6660] Notification viability test failed. No notification will be sent out. [Mon Dec 1 08:36:19 2008] [032.0] [pid=6660] ** Service Notification Attempt ** Host: 'np-hpclj4650', Service: 'Printer Status', Type: 0, Options: 0, Current State: 1, Last Notification: Thu Jan 1 01:00:00 1970 [Mon Dec 1 08:36:19 2008] [032.1] [pid=6660] This service shouldn't have notifications sent out at this time. [Mon Dec 1 08:36:19 2008] [032.1] [pid=6660] Next possible notification time: Tue Dec 2 08:30:00 2008
</snip>
(Note the shift in "next possible notification time"!)
The host related to this service is a "generic-printer" with options
notification_period workhours
notification_interval 240
notification_options d,r
contact_groups admins
and workhours is actually set to 08:30-18:00 for weekdays. Any idea
why the notification test fails and effectively jumps from one day to
the next, without sending any messages?
Thanks, Albrecht.
pgpukpVp82TKk.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Nagios-users mailing list [email protected] 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
