Detecting lights on Dell

tpg at umich.edu tpg at umich.edu
Thu Dec 13 08:36:35 CST 2007


Quoting andrew2 at one.net:
>
> I do something along those lines, although my alerts do also specify exactly
> what the problem is.  Basically, I use nagios to run the following check via
> NRPE:
>    [ lines deleted ]
> #!/bin/sh
> PATH=$PATH
> /usr/local/bin/ipmitool sdr > /home/nagios/ipmitemp
> mv /home/nagios/ipmitemp /home/nagios/ipmioutput
>
>
> You could have the check_ipmi script invoke ipmitool directly, but I've
> found ipmitool to be too slow for that, hence having it run out of cron
> while Nagios just checks on the output.  This all presupposes using Nagios
> to check all this, but it shouldn't be too hard to fit into whatever
> monitoring system you might be using.

Ah - this is helpful. Checking 'man ipmitool' I tried all sorts of 
options, looking for something that would tell me things are wrong. I 
was hoping someone on the list would suggest a specific command and I 
think you have 'ipmitool sdr'. I found this before, but was looking for 
confirmation that this is what I should be using.

If that's all there is to it, I can implement this in a cron script 
pretty easy. I already monitor 70 machines and have a simple 
infrastructure in place to deal with the hundreds of Emails I would 
normally get each day.

Thanks for the tip!





More information about the Linux-PowerEdge mailing list