Xymon Mailing List Archive search

Alerting on Server Reboot

list Dan Vande More
Thu, 2 Feb 2006 08:53:49 -0700
Message-Id: <user-dd317bb951b0@xymon.invalid>

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!" user-d7ae79a03f32@xymon.invalid

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, user-c102b8958c7a@xymon.invalid <user-c102b8958c7a@xymon.invalid> 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