shutting down machines with Nagios

Marcin Wasilewski marcinwasilewski at poczta.onet.pl
Fri Jun 9 09:14:30 CEST 2006


Hi,

I do something like this.
I wrote a simple bash script that ask APC Env unit  for temperature using 
SNMPGET and the correct OID.
Then the returned value is compared to critical limit and if it's higher 
then I shut down machines using SSH script like this:
ssh -l root machine name
init 5
exit

I think that could help You.
Best regards
Marcin

----- Original Message ----- 
From: "Johnston Michael J Contr AFRL/DES" <michael.johnston at kirtland.af.mil>
To: <nagios-users at lists.sourceforge.net>
Sent: Thursday, June 08, 2006 8:34 PM
Subject: [Nagios-users] shutting down machines with Nagios


>
> Does anyone use anything that will go out and shutdown computers in
> instances where a room is over heating or too many errors start occurring?
> We've recently had a problem with heat in a server room.  I got messages
> that the room was overheating, but by the time I got there the room was
> really hot and all the machines were running.  I'm looking for something
> that takes steps to save machines if a threshold is ever met or exceeded.
>
> Thanks for the help!
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when 
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
> 



_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list