[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Monitoring server sensors and triggering actions



Use lm-sensors. It runs localy and you can create a script that runs as a cron job that checks the output of lm-sensors and shutdown if you get high temps and stuff.

http://packages.debian.org/lenny/lm-sensors

2010/3/24 Felipe Augusto van de Wiel (faw) <faw@funlabs.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

       At work, after some power related problems,
including long period without power, no-breaks at
their full capacity and air-conditioning not being
covered by in-house power generators, we decided
to configure the servers to automatically shutdown
under critical conditions.

       After a few days and some research we are
kind of puzzled.  We are using munin and Nagios, so
we know both tools can trigger alerts about
temperature and/or other sensors (like voltages).

       Our problem is not related to monitoring
the no-breaks, they are basically to keep short
power outages, the local power generator should
kick-in in less than a minute.

       How do you shutdown a server if CPU hits
critical temperatures?  Do you use a program?  Do
you hack your own shell script?

       We couldn't find a tool or service that
would look to sensors and get some parameters,
once limits are crossed a mail to sysadmins are
sent and servers are shutdown for precaution.

       One of the things we are avoiding are
network monitoring tools, switches can be off,
so we are looking into something inside each
host, but we could live with a network solution
(if that's the only - or best - option).

       Any ideas, hints or comments?

Kind regards,
- --
Felipe Augusto van de Wiel (faw)
Debian. Freedom to code. Code to freedom!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuphAwACgkQCjAO0JDlykZ+TQCfce3QTH97Z6c68o3FPWteqold
P0cAn3lGMGsMW0VuBlm0lwU3y9cSrNj5
=ckI8
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 4BA9840E.70004@funlabs.org" target="_blank">http://lists.debian.org/[🔎] 4BA9840E.70004@funlabs.org




--
Eden Caldas
Consultor de TI
eden@linuxfacil.srv.br
(81) 9653 7220
LINUX FÁCIL – Consultoria e Serviços em TI



Reply to: