Xymon Mailing List Archive search

Alerting on Server Reboot

list Pnixon
Thu, 2 Feb 2006 11:03:25 -0500
Message-Id: <user-6f7e7da0695f@xymon.invalid>

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:user-f3c4c62d9d50@xymon.invalid] Sent: Thursday, February 02, 2006 10:54 AM
To: user-ae9b8668bcde@xymon.invalid
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!"
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