<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6472.0">
<TITLE>Notification Question</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Early sunday morning a server crashed, the server was rebooted. Looking through the event logs nagios logged a HOST DOWN as expected. But no host down notification was sent out, notifications only started comming once the server was up and nrpe was not running. I expected to recieve HOST DOWN notifications, but none were recieved, Looking in nagios' Alert Notifications history, it clearly shows that host down notification were sent to all 10 of our admins.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">here is a snippet from my alert notification history.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Hosts Service Tyoe Time contact Notification Command Information </FONT>
<BR><FONT SIZE=2 FACE="Arial">rtssip30 Check Disk / CRITICAL 08-10-2003 07:26:59 nlswe1 notify-by-email CHECK_NRPE: Socket timeout after 30 seconds. </FONT></P>
<P><FONT SIZE=2 FACE="Arial">kseu12 N/A HOST DOWN 08-10-2003 06:39:42 ksati1 host-notify-by-email CRITICAL - Plugin timed out after 10 seconds </FONT>
<BR><FONT SIZE=2 FACE="Arial">kseu12 N/A HOST DOWN 08-10-2003 06:39:42 ksjbo1 host-notify-by-email CRITICAL - Plugin timed out after 10 seconds </FONT>
<BR><FONT SIZE=2 FACE="Arial">kseu12 N/A HOST DOWN 08-10-2003 06:39:42 ksjkl1 host-notify-by-email CRITICAL - Plugin timed out after 10 seconds </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">My question, are mail notifications written to the log, even before they pass through some notification filters. or from looking at the above log, should the admins have all recieved mails,, they continued to recieve mails all day complaining about nrpe not running.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">here is how the host is defined</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"># 'kseu12' host definition</FONT>
<BR><FONT SIZE=2 FACE="Arial">define host{</FONT>
<BR><FONT SIZE=2 FACE="Arial"> use generic-host</FONT>
<BR><FONT SIZE=2 FACE="Arial"> host_name kseu12</FONT>
<BR><FONT SIZE=2 FACE="Arial"> alias kseu12</FONT>
<BR><FONT SIZE=2 FACE="Arial"> address some ip</FONT>
<BR><FONT SIZE=2 FACE="Arial"> check_command check-host-alive</FONT>
<BR><FONT SIZE=2 FACE="Arial"> max_check_attempts 10</FONT>
<BR><FONT SIZE=2 FACE="Arial"> notification_interval 120</FONT>
<BR><FONT SIZE=2 FACE="Arial"> notification_period 24x7</FONT>
<BR><FONT SIZE=2 FACE="Arial"> notification_options d,u,r</FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Arial">Any help appreciated, I really need to get host down mails.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thanks</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Stuart</FONT>
</P>
</BODY>
</HTML>