ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

"Health Status" OID for iLO4

snickered
Visitor

"Health Status" OID for iLO4

I can poll a host OS on a G7 server with the following and it will return a 2 if everything is ok and a 4 when I pull out a drive to simulate a failure.

 

const RETRY = 2
const TIMEOUT = 1000
strDevice = "10.0.0.100"
strCommunity = "public"
set objSNMP = CreateObject("OlePrn.OleSNMP")
objSNMP.Open strDevice, strCommunity, RETRY, TIMEOUT
health = objSNMP.Get(".1.3.6.1.4.1.232.6.1.3.0") 
wscript.echo health

 

When I poll an iLO4 it returns 2 when everything is ok and also a 2 when I pull out a drive.  Is there a way to get the "Health Status" with SNMP?  What's the proper OID?  Thanks!

2 REPLIES
PGTRI
Honored Contributor

Re: "Health Status" OID for iLO4

hi,

 

If you are talking about the hard drive status / here is the MIB/OID .

 

cpqDaPhyDrvStatus   1.3.6.1.4.1.232.3.2.5.1.1.6

 

CPQIDA-MIB

 

regards,

 

 

How to Say Thank You? Just click the KUDOS!
snickered
Visitor

Re: "Health Status" OID for iLO4

No, I know about the others but I'm looking for an overall "system health" like the one I use for G7 boxes.  I'd like to poll for the overall health and if there's a problem investigate further.  Right now when I login to my iLO4 I see the "System Health" as "Degraded".  How can I access that information?