<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
One way to check on a system reboot I've used before is with NagEventLog.  We use NagEventLog to look for certain errors posted to the system/app eventlogs.  Note these are "passive" checks so how soon you get notified will depend on the configuration of said passive checks as well as Nagios config. NagEventLog is reasonably configurable to filter our or only look for specific events such as an "unexpected shutdown".<BR><BR>-- <BR>Mat W.<BR>
<A href="http://www.techadre.com">http://www.techadre.com</A><BR><BR><BR><BR> <BR>
<HR id=stopSpelling>
Date: Thu, 11 Jun 2009 16:29:40 -0700<BR>From: teckadmin@gmail.com<BR>To: nagios-users@lists.sourceforge.net<BR>Subject: [Nagios-users] Nagios Reboot Notification<BR><BR>
<DIV>Marc,</DIV>
<DIV> </DIV>
<DIV>I don't think this will work for me ...reason being Nagios will do its check, lets say every minute.  If the server reboots unexpectedly and comes up in between that check period, Nagios will never see the reboot.  I could be wrong, but is that not accurate?</DIV>
<DIV> </DIV>
<DIV>Other application will notify you as soon as the server shuts down or reboots.  Is this because its being monitored differently or different checks are being executed.  As a Nagios newb, it seems that Nagios has cycles of running checks that the user defines. </DIV>
<DIV> </DIV>
<DIV>But I would like to try you suggestion.  Will I simply add the define command in the commands.cfg config file and then reference that with the check_command in the hosts.cfg file?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV> </DIV>
<DIV>Kevin M.</DIV><br /><hr />Insert movie times and more without leaving HotmailŪ.  <a href='http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009' target='_new'>See how.</a></body>
</html>