<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.2541" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=315595919-04012006>I'm having trouble
diagnosing a problem with notifications. I am using Nagios v1.2 on Red Hat
Enterprise Linux ES version 3 and it has been working great for the most
part. I noticed that at some point (don't know when), Nagios stopped
sending notifications for the PING service. All other notifications
appeared to be working great. In an effort to troubleshoot the problem, I
added a host named 'nebula' and brought the interface down and back up. No
notification was sent for the host or the service.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=315595919-04012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=315595919-04012006>I've searched with
Google, et al, but am at a loss, so any guidance would be appreciated.
I've included everything I thought was relevant, thanks!:</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2># Generic service definition
template<BR>define service{<BR>
name
generic-service<BR>
active_checks_enabled
1<BR>
passive_checks_enabled
1<BR>
parallelize_check
1<BR>
obsess_over_service
0<BR>
check_freshness
0<BR>
check_period
24x7<BR>
is_volatile
0<BR>
max_check_attempts
3<BR>
normal_check_interval
5<BR>
notifications_enabled
1<BR>
notification_interval
0<BR>
notification_period
24x7<BR>
event_handler_enabled
1<BR>
flap_detection_enabled
1<BR>
process_perf_data
1<BR>
retain_status_information
1<BR>
retain_nonstatus_information
1<BR>
retry_check_interval
1<BR>
register
0<BR> }<BR></DIV></FONT>
<DIV><FONT face="Courier New" size=2># Ping nebul<SPAN
class=315595919-04012006>a</SPAN><BR>define service
{<BR>
use
generic-service<BR>
host_name
nebula<BR>
service_description
PING<BR>
contact_groups
mhanley<BR>
notification_options
c,r,u<BR>
check_command
check_ping!20.0,20%!100.0,40%<BR>
}<BR></FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>define
host{<BR>
name
generic-host ; The name of this host<SPAN
class=315595919-04012006> </SPAN>template - referenced in<SPAN
class=315595919-04012006> </SPAN>other host definitions, used for template
recursion/resolution<BR>
notifications_enabled
1 ; Host notifications are<SPAN
class=315595919-04012006> </SPAN>enabled</FONT></DIV>
<DIV><FONT><FONT face="Courier New"><FONT size=2><SPAN
class=315595919-04012006>
</SPAN>event_handler_enabled
1 ; Host event handler is
enabled<BR>
flap_detection_enabled
1 ; Flap detection is
enabled<BR>
process_perf_data
1 ; Process performance
data<BR>
retain_status_information
1 ; Retain status information across program
restarts<BR>
retain_nonstatus_information
1 ; Retain non-status information<SPAN
class=315595919-04012006> </SPAN>across program
restarts</FONT></FONT></FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>
register
0 ; DONT REGISTER THIS DEFINITION<SPAN
class=315595919-04012006> </SPAN>- ITS NOT A REAL HOST, JUST A
TEMPLATE!<BR> }<BR></FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2># 'nebula' host definition<BR>define
host{<BR>
use
generic-host<BR>
host_name
nebula<BR>
alias
nebula.cxtec.com<BR>
address
172.22.3.156<BR>
check_command
check-host-alive<BR>
max_check_attempts
10<BR>
notification_interval
0<BR>
notification_period
24x7<BR>
notification_options
d,u,r<BR> }<BR></FONT></DIV>
<DIV><FONT face="Courier New" size=2># 'mhanley' contact group definition - For
things only he wants to be notified<BR># for<BR>define
contactgroup{<BR>
contactgroup_name
mhanley<BR>
alias
Matthew Hanley<BR>
members
mhanley<BR> }<BR></FONT></DIV>
<DIV><FONT size=2><FONT face="Courier New"># 'mhanley' contact
definition<BR>define contact{<BR>
contact_name
mhanley<BR>
alias
Matthew Hanley<BR>
service_notification_period
24x7<BR>
host_notification_period
24x7<BR>
service_notification_options
w,u,c,r<BR>
host_notification_options
d,u,r<BR>
service_notification_commands
notify-by-email<BR>
host_notification_commands
host-notify-by-email<BR>
email
</FONT><A href="mailto:mhanley@cxtec.com"><FONT
face="Courier New">mhanley@cxtec.com</FONT></A><BR><FONT
face="Courier New">
}</FONT></FONT></DIV><FONT><FONT face="Courier New">
<DIV><BR><FONT size=2>Jan 4 14:30:32 nagios nagios: HOST ALERT:
nebula;DOWN;SOFT;1;/bin/ping -n -U -c 1 172.22.3.156<BR>Jan 4 14:30:35
nagios nagios: HOST ALERT: nebula;DOWN;SOFT;2;/bin/ping -n -U -c 1
172.22.3.156<BR>Jan 4 14:30:38 nagios nagios: HOST ALERT:
nebula;DOWN;SOFT;3;/bin/ping -n -U -c 1 172.22.3.156<BR>Jan 4 14:30:41
nagios nagios: HOST ALERT: nebula;DOWN;SOFT;4;/bin/ping -n -U -c 1
172.22.3.156<BR>Jan 4 14:30:44 nagios nagios: HOST ALERT:
nebula;DOWN;SOFT;5;/bin/ping -n -U -c 1 172.22.3.156<BR>Jan 4 14:30:48
nagios nagios: HOST ALERT: nebula;DOWN;SOFT;6;/bin/ping -n -U -c 1
172.22.3.156<BR>Jan 4 14:30:51 nagios nagios: HOST ALERT:
nebula;DOWN;SOFT;7;/bin/ping -n -U -c 1 172.22.3.156<BR>Jan 4 14:30:54
nagios nagios: HOST ALERT: nebula;DOWN;SOFT;8;/bin/ping -n -U -c 1
172.22.3.156<BR>Jan 4 14:30:57 nagios nagios: HOST ALERT:
nebula;DOWN;SOFT;9;/bin/ping -n -U -c 1 172.22.3.156<BR>Jan 4 14:31:00
nagios nagios: HOST ALERT: nebula;DOWN;HARD;10;/bin/ping -n -U -c 1
172.22.3.156<BR>Jan 4 14:31:00 nagios nagios: SERVICE ALERT:
nebula;PING;UNKNOWN;HARD;1;/bin/ping -n -U -c 5 172.22.3.156<BR>Jan 4
14:35:29 nagios nagios: HOST ALERT: nebula;UP;HARD;1;PING OK - Packet loss = 0%,
RTA = 0.46 ms<BR>Jan 4 14:35:29 nagios nagios: SERVICE ALERT:
nebula;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.48 ms</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV></FONT><FONT face=Arial size=2><SPAN
class=315595919-04012006>-matt</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=315595919-04012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=315595919-04012006>Matthew
Hanley</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=315595919-04012006>mhanley@cxtec.com</SPAN></FONT></DIV></FONT></BODY></HTML>