Mike,

Try exploring the “omreport system” options.
In particular “omreport system esmlog”, whose first few lines are:

omreport system esmlog
Embedded System Management (ESM) Log

Health : Ok
...

You can get progressive help by tagging “-?” to omreport, ie. “omreport -?” 
shows general help, “omreport system -?” shows help about the system 
sub-command, “omreport system esmlog -?”  shows help for the esmlog component 
of the system sub-command and so on.

The racadm command is also capable of getting back the System Event Log, but it 
doesn’t seem to give an overall status, and nothing else seems to stand out as 
providing that one overall status.
racadm , too, has progressive help: “racadm help”, “racadm help getsel”.

Good luck.

Cheers,
dave

From: [email protected] 
[mailto:[email protected]] On Behalf Of Hanby, Mike
Sent: 24 January 2017 19:05
To: [email protected]
Subject: [Linux-PowerEdge] Remote BMC command determine hardware health

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
_______________________________________________________________________________________________________________________________________________
Caversham Finance Limited, registered in England No 0785922 Registered office: 
5 Hercules Way, Leavesden Park, Watford WD25 7GS
Caversham Trading Limited, registered in England No 05396147 Registered office: 
5 Hercules Way, Leavesden Park, Watford WD25 7GS
BrightHouse Limited, registered in England No 06073794 Registered office: 5 
Hercules Way, Leavesden Park, Watford WD25 7GS
Caversham Finance Limited is authorised and regulated by the Financial Conduct 
Authority for consumer credit
_______________________________________________________________________________________________________________________________________________
Caversham Finance Limited, registered in England No 0785922 Registered office: 
5 Hercules Way, Leavesden Park, Watford WD25 7GS
Caversham Trading Limited, registered in England No 05396147 Registered office: 
5 Hercules Way, Leavesden Park, Watford WD25 7GS
BrightHouse Limited, registered in England No 06073794 Registered office: 5 
Hercules Way, Leavesden Park, Watford WD25 7GS
Caversham Finance Limited is authorised and regulated by the Financial Conduct 
Authority for consumer credit
_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge

Reply via email to