[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Alerting on Server Reboot
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Alerting on Server Reboot
- From: Dan Vande More <bigdan (at) gmail.com>
- Date: Thu, 2 Feb 2006 08:53:49 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qSjS65Ou1H/iKGb9modKON5dQtfHAxBbdB4/fQCzlH6JdG33CyyMclzAg8xqpTO+xuwd3CKdxSqrZ17kTwZLeZantwSZ757DL5hUlQTw3TaHxDL30N5jSKwC3VeG+a4qm841PHjdU8lrCewmOf63yWq/bKaeZ57hYfXRXYocOxQ=
- References: <3AB168498CFD3145A5D7EB4FE9365A6A53D6C9@geezil.somerville.ma.us>
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
>
>
>