[hobbit] Alerting on Server Reboot

Dan Vande More bigdan at gmail.com
Thu Feb 2 16:53:49 CET 2006


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



More information about the Xymon mailing list