Re: [Nagios-users] How to get reboot messages

2007-12-01 Thread Matthew Richardson
SNMP works fine in Windows for uptime monitoring... Best wishes, Matthew -- From: chris serafin [EMAIL PROTECTED] To: Steve Shipway [EMAIL PROTECTED] Cc: Nagios-users@lists.sourceforge.net Date: Thu, 29 Nov 2007 15:08:37 -0600 Subject: Re: [Nagios-users] How to get reboot messages So SNMP

[Nagios-users] How to get reboot messages

2007-11-29 Thread chris serafin
I have a bunch of devices which alert me fine up/down, but I'm looking to find how to get messages when they reboot. Solarwinds does this for me now, but I'm trying to move off this solution, but my boss want reboot messages as well as up/downs for the devices... Any ideas? Chris Serafin [EMAIL

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 chris serafin wrote: I have a bunch of devices which alert me fine up/down, but I'm looking to find how to get messages when they reboot. Solarwinds does this for me now, but I'm trying to move off this solution, but my boss want reboot messages

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread Kevin Scott Sumner
We have our site-specific init script do this on Linux and Solaris. We also dump the users from last into the mail just in case a user rebooted a lab machine. The general algorithm is: -build the input to /usr/lib/sendmail in some file -mail it with `cat $file | /usr/lib/sendmail -oi

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread Yost, Josh
snmpget and does regular expression matches). - Josh From: [EMAIL PROTECTED] on behalf of chris serafin Sent: Thu 11/29/2007 11:59 AM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] How to get reboot messages I have a bunch of devices which

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread Donnell Lewis
You could also (if it's linux) just put a simple mail command with message in /etc/rc.local which executes after system boot and init. -Don On Thu, 2007-11-29 at 11:59 -0600, chris serafin wrote: I have a bunch of devices which alert me fine up/down, but I'm looking to find how to get messages

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Donnell Lewis wrote: You could also (if it's linux) just put a simple mail command with message in /etc/rc.local which executes after system boot and init. Duh! That's so simple I wasn't even thinking about it. I was thinking of how to have it

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread Yost, Josh
: [EMAIL PROTECTED] on behalf of Yost, Josh Sent: Thu 11/29/2007 12:47 PM To: chris serafin; Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] How to get reboot messages hi, One simple idea is to use the Uptime number from SNMP (hrSystemUptime.0), and if that ever says 0 days

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread chris serafin
, November 29, 2007 12:00 PM *To:* Nagios-users@lists.sourceforge.net *Subject:* [Nagios-users] How to get reboot messages I have a bunch of devices which alert me fine up/down, but I'm looking to find how to get messages when they reboot. Solarwinds does this for me now, but I'm trying to move

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread Steve Shipway
Here, we do this by checking the uptime of the host/device.For switches etc, this is in the SNMP counter. For windows hosts, it is via check_nt and the UPTIME object. For unix, you just create an appropriate script to run via nrpe. We then do a critical if uptime 10min. Since hosts are

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread chris serafin
So SNMP won't work with Windows? Damn, clients hate extra software. :( Would you be willing to post your commands/services configs? I bet if I see your configs I may be able to replicate it to SNMP/windows. Thanks [EMAIL PROTECTED] On Nov 29, 2007 2:57 PM, Steve Shipway [EMAIL PROTECTED]