HP ilo via XML

Nice feature to query system information from a HP server with configured ilo:

http://iloname/xmldata?item=All  (serial / model / ilo version / ilo frimware…)
http://iloname/xmldata?item=CpqKey (ilo key)

Integrated in Nagios checks via Powershell:

param($iloname)
$xml = New-Object System.Xml.XmlDocument
$xml.Load(„http://$($iloname)/xmldata?item=All„)
Write-Host „Serial:“$xml.RIMP.HSI.SBSN“, Model:“$xml.RIMP.HSI.SPN

command definition:

check_hpinfo!$HOSTNAME$-r

 

Dieser Beitrag wurde unter IT News Blog abgelegt und mit , , , verschlagwortet. Setze ein Lesezeichen auf den Permalink.