{"id":212,"date":"2013-12-09T11:57:00","date_gmt":"2013-12-09T09:57:00","guid":{"rendered":"http:\/\/www.simplify-it.de\/WP\/?p=212"},"modified":"2013-12-09T11:58:38","modified_gmt":"2013-12-09T09:58:38","slug":"hp-ilo-via-xml","status":"publish","type":"post","link":"https:\/\/www.simplify-it.de\/WP\/it-news-blog\/hp-ilo-via-xml\/","title":{"rendered":"HP ilo via XML"},"content":{"rendered":"<p>Nice feature to query system information from a HP server with configured ilo:<\/p>\n<p><a href=\"http:\/\/su-dekr-vm02-r\/xmldata?item=All\">http:\/\/iloname\/xmldata?item=All<\/a>\u00a0 (serial \/ model \/ ilo version \/ ilo frimware&#8230;)<br \/>\n<a href=\"http:\/\/su-dekr-vm02-r\/xmldata?item=All\">http:\/\/iloname\/xmldata?item=CpqKey<\/a> (ilo key)<\/p>\n<p>Integrated in Nagios checks via Powershell:<\/p>\n<p>param($iloname)<br \/>\n$xml = New-Object System.Xml.XmlDocument<br \/>\n$xml.Load(&#8222;<a href=\"http:\/\/$($iloname)\/xmldata?item=All\">http:\/\/$($iloname)\/xmldata?item=All<\/a>&#8222;)<br \/>\nWrite-Host &#8222;Serial:&#8220;$xml.RIMP.HSI.SBSN&#8220;, Model:&#8220;$xml.RIMP.HSI.SPN<\/p>\n<p>command definition:<\/p>\n<p>check_hpinfo!$HOSTNAME$-r<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nice feature to query system information from a HP server with configured ilo: http:\/\/iloname\/xmldata?item=All\u00a0 (serial \/ model \/ ilo version \/ ilo frimware&#8230;) http:\/\/iloname\/xmldata?item=CpqKey (ilo key) Integrated in Nagios checks via Powershell: param($iloname) $xml = New-Object System.Xml.XmlDocument $xml.Load(&#8222;http:\/\/$($iloname)\/xmldata?item=All&#8222;) Write-Host &#8222;Serial:&#8220;$xml.RIMP.HSI.SBSN&#8220;, &hellip; <a href=\"https:\/\/www.simplify-it.de\/WP\/it-news-blog\/hp-ilo-via-xml\/\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[31,32,28,30],"class_list":["post-212","post","type-post","status-publish","format-standard","hentry","category-it-news-blog","tag-hp","tag-hp-ilo","tag-nagios","tag-powershell"],"_links":{"self":[{"href":"https:\/\/www.simplify-it.de\/WP\/wp-json\/wp\/v2\/posts\/212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simplify-it.de\/WP\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.simplify-it.de\/WP\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.simplify-it.de\/WP\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simplify-it.de\/WP\/wp-json\/wp\/v2\/comments?post=212"}],"version-history":[{"count":1,"href":"https:\/\/www.simplify-it.de\/WP\/wp-json\/wp\/v2\/posts\/212\/revisions"}],"predecessor-version":[{"id":213,"href":"https:\/\/www.simplify-it.de\/WP\/wp-json\/wp\/v2\/posts\/212\/revisions\/213"}],"wp:attachment":[{"href":"https:\/\/www.simplify-it.de\/WP\/wp-json\/wp\/v2\/media?parent=212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.simplify-it.de\/WP\/wp-json\/wp\/v2\/categories?post=212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.simplify-it.de\/WP\/wp-json\/wp\/v2\/tags?post=212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}