[hobbit] Alerting on Server Reboot

Milburn, John A. MilburnJA at dot.il.gov
Fri Feb 3 00:03:41 CET 2006


If the servers are part of an Active Directory domain, you can use a
policy to run a script at startup. I use one that writes an event log
entry in a management server and sends an email to the admins. 

-----Original Message-----
From: PNIXON at ci.somerville.ma.us [mailto:PNIXON at ci.somerville.ma.us] 
Sent: Thursday, February 02, 2006 10:03 AM
To: hobbit at hswn.dk
Subject: RE: [hobbit] Alerting on Server Reboot

Doh!

Forgot to mention this is primarily for Windows Servers (I know, I know,
not
my group :)

--Pat 

-----Original Message-----
From: Dan Vande More [mailto:bigdan at gmail.com] 
Sent: Thursday, February 02, 2006 10:54 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Alerting on Server Reboot

Pat,

One of the things I've done in the past is have a init.d script (For
linux
at least), that emails your account that the server just booted.
Something like this:

#!/bin/sh

echo "`hostname -f` just rebooted!" | mail -s "`hostname -f` just
rebooted!"
admin at domain.com

EOF

Maybe you could just append that to your hobbit client's init scripts?

In any case, I'd be interested to see what others have to say as well.

-Dan

On 2/2/06, PNIXON at ci.somerville.ma.us <PNIXON at ci.somerville.ma.us>
wrote:
> Hey all,
>  Does anyone have a recommended solution for triggering an alert when 
> a server is rebooted?
>
>  Assuming it comes back up within the ping cycle, the conn test still 
> passes.
>
>  I'm aware that the CPU turns yellow due to the reboot, but is it 
> possible to build an alert rule to trigger on ServerX CPU = Yellow?
>
> Thanks for any feedback...
>
> --Pat
>
>
> To unsubscribe from the hobbit list, send an e-mail to 
> hobbit-unsubscribe at hswn.dk
>
>
>

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list