You might find the output of 'sensors' to be a little more what you're
looking for, although you'll still have to determine what criteria to
search for to indicate failure, but it's much more regularly-structured
data.

Bonus -- if you're using Python, there's a pretty good pip called 'pyghmi'
that supports a bunch of IPMI primitives, so you don't need to mix and
match languages/tools.

cheers,
Klaus

On Tue, Jan 24, 2017 at 11:04 AM, Hanby, Mike <[email protected]> wrote:

> Howdy,
>
>
>
> I use the following get a quick view of the hardware health (using the
> default Dell password for reference) followed by a bunch of grep and awk
> parsing:
>
> ipmitool -I lanplus -H 172.16.0.11 -U root -P calvin sel list
>
>
>
> Is there a ipmi/racadm/??? query I can run that just returns something
> like OK or CRIT to indicate whether or not the server currently has a
> hardware fault without a lot of parsing?
>
>
>
> Thanks
>
>
>
> ----------------
>
> Mike Hanby
>
> mhanby @ uab.edu
>
> Systems Analyst II - Enterprise
>
> Research Computing Services / IT Infrastructure
>
> The University of Alabama at Birmingham
>
> _______________________________________________
> Linux-PowerEdge mailing list
> [email protected]
> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
>
>
_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge

Reply via email to