delayed notifications

Holger Kaelberer hkaelber at math.uni-bielefeld.de
Mon Dec 12 15:36:54 CET 2005


I don't like answering my own questions ... but the problem ist solved:
contact-timeperiod was workhours, now is "24x7".

Thanks to Joerg Linge!

Holger Kaelberer wrote on Mon Dec 12, 2005 um 12:57:50PM:
> 
> Hi,
> 
> I am having problems with (host- and service-) notifications not being send
> out  when they should. Concrete example:
> 
> Host crashed on friday:
> /---
> Dec  9 21:45:38 cnode4 nagios: HOST ALERT: nectar;DOWN;SOFT;1;FPING CRITICAL
> - nectar (loss=100.000000% )
> Dec  9 21:45:38 cnode4 nagios: HOST ALERT: nectar;DOWN;SOFT;2;FPING CRITICAL
> - nectar (loss=100.000000% )
> Dec  9 21:45:39 cnode4 nagios: HOST ALERT: nectar;DOWN;SOFT;3;FPING CRITICAL
> - nectar (loss=100.000000% )
> Dec  9 21:45:39 cnode4 nagios: HOST ALERT: nectar;DOWN;SOFT;4;FPING CRITICAL
> - nectar (loss=100.000000% )
> Dec  9 21:45:40 cnode4 nagios: HOST ALERT: nectar;DOWN;HARD;5;FPING CRITICAL
> - nectar (loss=100.000000% )
> 
> ...
> 
> Dec 10 00:00:18 cnode4 nagios: CURRENT HOST STATE: nectar;DOWN;HARD;5;FPING
> CRITICAL - nectar (loss=100.000000% )
> 
> ...
> 
> Dec 11 00:00:19 cnode4 nagios: CURRENT HOST STATE: nectar;DOWN;HARD;5;FPING
> CRITICAL - nectar (loss=100.000000% )
> ---/
> 
> Notifications on monday morning:
> /---
> Dec 12 07:00:29 cnode4 nagios: HOST NOTIFICATION:
> nagios;nectar;DOWN;host-notify-by-email;FPING CRITICAL - nectar
> (loss=100.000000% )
> ---/
> 
> I just upgraded to 2.0b5 (from 1.2)
> 
> out of global config:
> /---
> log_host_retries=1
> retain_state_information=1
> enable_notifications=1
> use_retained_program_state=1
> use_retained_scheduling_info=0
> ---/
> 
> host-config for the example:
> /---
> define host{
>         host_name               nectar
>         alias                   nectar
>         event_handler_enabled           0      
>         flap_detection_enabled          1
>         process_perf_data               1       
>         retain_status_information       1       
>         retain_nonstatus_information    0    
>         check_command           check-host-alive
>         max_check_attempts      5
>         notifications_enabled   1
>         notification_interval   0 
>         notification_period     24x7 
>         notification_options    d,u
>         contact_groups          admpers
>         }
> ---/
> 
> Any ideas how to further trace the problem?
> 
> I already had the same problem when enbling the global enable_notifications and restarting nagios; that maybe has another reason.
> 
> Thanks, 
>   Holger.
>   

-- 
Holger Kaelberer <hkaelber at math.uni-bielefeld.de>
Computerlabor Mathematik, U5-138
Universitaet Bielefeld
Tel.: (0521) 106-3861


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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





More information about the Users mailing list