notification of system reboots

Fredrik Wänglund fredrik.wanglund at datavis.se
Wed Jun 4 07:05:29 CEST 2003


You can use a startup-script and that submit a passive-check-result to 
Nagios each time the machine comes up.

/FredrikW

Chandler A. Collins wrote:

>Actually, we've had similar mechanisms in place in the past, but we're trying to find a clean way to use Nagios to handle this task that won't involve the installation and maintenance of a separate script.  We already have to add a new host to a specific hostgroup in Nagios to make sure all the right services are being monitored.  We'd like to make it so that notification of a system reboot is simply part of the suite of services that are being monitored under this hostgroup.
>
>Chandler
>
>
>  
>
>>-----Original Message-----
>>From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com]
>>Sent: Tuesday, June 03, 2003 2:34 PM
>>To: Chandler A. Collins; nagios-users at lists.sourceforge.net
>>Subject: RE: [Nagios-users] notification of system reboots
>>
>>
>>Some of our Windows and Unix boxes have a batch file or shell script
>>that emails a generic template to a mailing list on boot.  This
>>file/script runs at boottime and lets everyone know that the box is
>>coming back up.
>>
>>----------
>>Aaron Conaway
>>Network Engineer III
>>Verisign, Inc. -- Telecom Services Division
>>http://www.verisign.com
>>Office:  912.527.4343
>>Fax:  912.527.4014
>>
>>
>>-----Original Message-----
>>From: Chandler A. Collins [mailto:Chandler.Collins at silabs.com] 
>>Sent: Tuesday, June 03, 2003 3:10 PM
>>To: nagios-users at lists.sourceforge.net
>>Subject: [Nagios-users] notification of system reboots
>>
>>
>>
>>Hello,
>>
>>I'm trying to find the best way to get notified anytime a system
>>reboots.
>>
>>Essentially, I have about 70 boxes being monitored, and I need to know
>>anytime one of them reboots.  Every box also has NRPE 
>>installed, and I'm
>>monitoring various services on those systems.  Right now, Nagios is
>>setup to notify administrators if a particular service has a 
>>problem for
>>15 minutes (max_check_attempts = 3, normal_check_interval = 5,
>>retry_check_interval = 5).  That obviously won't work for a reboot,
>>which under normal circumstances will take much less than 15 
>>minutes, in
>>which case we won't even know about it.
>>
>>Does anyone have any ideas about the best way of doing this 
>>so that I'm
>>not notified about transient issues, but I am notified if the system
>>genuinely reboots?
>>
>>Thanks!
>>
>>Chandler Collins
>>
>>This email and any attachments thereto may contain private,
>>confidential, 
>>and privileged material for the sole use of the intended 
>>recipient. Any 
>>review, copying, or distribution of this email (or any attachments
>>thereto) 
>>by others is strictly prohibited. If you are not the intended 
>>recipient,
>>
>>please contact the sender immediately and permanently delete the
>>original 
>>and any copies of this email and any attachments thereto.
>>
>>
>>    
>>
>
>This email and any attachments thereto may contain private, confidential, 
>and privileged material for the sole use of the intended recipient. Any 
>review, copying, or distribution of this email (or any attachments thereto) 
>by others is strictly prohibited. If you are not the intended recipient, 
>please contact the sender immediately and permanently delete the original 
>and any copies of this email and any attachments thereto.
>
>  
>




-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
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