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

2007-12-05 Thread Matthew Richardson
monitoring... >> >> Best wishes, >> Matthew >> -- >> >From: "chris serafin" <[EMAIL PROTECTED]> >> >To: "Steve Shipway" <[EMAIL PROTECTED]> >> >Cc: Nagios-users@lists.sourceforge.net >> &g

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 &g

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]> wrot

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 ch

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

2007-11-29 Thread chris serafin
Thanks for all the replies, these would be Windows servers, Cisco/Juniper devices and Checkpoint boxes running mainly on SPLAT (linux) I prefer to do this with SNMP, as that's how I have done it on Solarwinds. I will be trying the SNMP_uptime command and report my results. [EMAIL PROTECTED] O

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
osting). - Josh From: [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 SN

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 message

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

2007-11-29 Thread Yost, Josh
hi, One simple idea is to use the Uptime number from SNMP ("hrSystemUptime.0"), and if that ever says "0 days" then you get an alert. I have a script that does a little more than this, but that's the basic idea. you should be able to do this with check_snmp (or a quick perl script that uses

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 $emailAddr

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 message