<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ILO perl scripting to interface with nagios in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ilo-perl-scripting-to-interface-with-nagios/m-p/4336915#M34838</link>
    <description>Hello,&lt;BR /&gt;I have the same problem, ILO1 didnt't have the command get_embedded_health.&lt;BR /&gt;Somebody knows another way?&lt;BR /&gt;Thanks&lt;BR /&gt;Fred</description>
    <pubDate>Tue, 26 May 2009 14:04:03 GMT</pubDate>
    <dc:creator>Fred Jupiter</dc:creator>
    <dc:date>2009-05-26T14:04:03Z</dc:date>
    <item>
      <title>ILO perl scripting to interface with nagios</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ilo-perl-scripting-to-interface-with-nagios/m-p/4336910#M34833</link>
      <description>I have been working with the check_ilo2_health.pl script and have hit a brick wall. I then created a much simpler perl script that simply logs into ILo and parses the possible commants to it. Although I have succesfully been able to get the GET_HOST_POWER_STATUS, GET_HOST_POWER_SAVER_STATUS, (all the GET_HOST commands) and the GET_ALL_USERS to work successfully, the command I really wanted to get to work (GET_EMBEDDED_HEALTH) always fails with the MESSAGE='Syntax error: Line #0: syntax error near "" in the line: ""'.&lt;BR /&gt;&lt;BR /&gt;Here is my scripted commands:&lt;BR /&gt;&lt;BR /&gt;    print $client '' . "\r\n";&lt;BR /&gt;    print $client '&lt;LOCFG version="2.21"&gt;&lt;/LOCFG&gt;' . "\r\n";&lt;BR /&gt;    print $client '&lt;RIBCL version="2.0"&gt;' . "\r\n";&lt;BR /&gt;    print $client '&lt;LOGIN user_login="'.$username.'" password="'.$password.'"&gt;' . "\r\n";&lt;BR /&gt;    print $client '&lt;SERVER_INFO mode="read"&gt;' . "\r\n";&lt;BR /&gt;    print $client '&lt;GET_HOST_POWER_STATUS&gt;&lt;/GET_HOST_POWER_STATUS&gt;' . "\r\n";&lt;BR /&gt;    print $client '&lt;GET_HOST_POWER_SAVER_STATUS&gt;&lt;/GET_HOST_POWER_SAVER_STATUS&gt;' . "\r\n";&lt;BR /&gt;    print $client '&lt;GET_HOST_POWER_REG_INFO&gt;&lt;/GET_HOST_POWER_REG_INFO&gt;' . "\r\n";&lt;BR /&gt;&lt;BR /&gt;    print $client '&lt;/SERVER_INFO&gt;' . "\r\n";&lt;BR /&gt;    print $client '&lt;USER_INFO mode="read"&gt;' . "\r\n";&lt;BR /&gt;    print $client '&lt;GET_ALL_USERS&gt;&lt;/GET_ALL_USERS&gt;' . "\r\n";&lt;BR /&gt;&lt;BR /&gt;    print $client '&lt;/USER_INFO&gt;' . "\r\n";&lt;BR /&gt;    print $client '&lt;/LOGIN&gt;' . "\r\n";&lt;BR /&gt;    print $client '&lt;/RIBCL&gt;' . "\r\n";&lt;BR /&gt;&lt;BR /&gt;If I put the command:&lt;BR /&gt;    print $client '&lt;GET_EMBEDDED_HEALTH&gt;&lt;/GET_EMBEDDED_HEALTH&gt;' . "\r\n";&lt;BR /&gt;&lt;BR /&gt;just before the SERVER_INFO line, (where it belongs) it will give me the syntax error.&lt;BR /&gt;&lt;BR /&gt;Is there a jumper that needs to be set or some administrative setting I am missing here? All I want to do is have this spit me out parsable info that I can then send to nagios to prevent failures. All the post I have seen don't seem to fix this. What am I missing?&lt;BR /&gt;&lt;BR /&gt;Thank you for any considerations here.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Jan 2009 16:12:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ilo-perl-scripting-to-interface-with-nagios/m-p/4336910#M34833</guid>
      <dc:creator>frank.smith</dc:creator>
      <dc:date>2009-01-13T16:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: ILO perl scripting to interface with nagios</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ilo-perl-scripting-to-interface-with-nagios/m-p/4336911#M34834</link>
      <description>What OS are you running?  I don't think it is MPE.</description>
      <pubDate>Wed, 14 Jan 2009 06:59:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ilo-perl-scripting-to-interface-with-nagios/m-p/4336911#M34834</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-01-14T06:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: ILO perl scripting to interface with nagios</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ilo-perl-scripting-to-interface-with-nagios/m-p/4336912#M34835</link>
      <description>The OS should not be important as this is a perl script, but I am running Centos 5.1 with all the perl modules needed (installed with cpan) installed and configured correctly. Here is some more info on this.&lt;BR /&gt;&lt;BR /&gt;Some additional commands work, and some don't. This leads me to believe, is this (the CHECK_EMBEDDED_HEALTH command) an ILo 2 command and it does not work with ILo1? If this is the case, is there an ILo1 command for doing basically the same thing? (checking fan condition, temperature of the system, etc)</description>
      <pubDate>Thu, 15 Jan 2009 20:58:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ilo-perl-scripting-to-interface-with-nagios/m-p/4336912#M34835</guid>
      <dc:creator>frank.smith</dc:creator>
      <dc:date>2009-01-15T20:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: ILO perl scripting to interface with nagios</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ilo-perl-scripting-to-interface-with-nagios/m-p/4336913#M34836</link>
      <description>&amp;gt;The OS should not be important as this is a perl script&lt;BR /&gt;&lt;BR /&gt;ILO and perl have little to do with MPE and therefor you probably won't get any answers.  (You wouldn't put this in a printers forum would you?)  I'll ask the moderators to move this to linux.</description>
      <pubDate>Fri, 16 Jan 2009 06:01:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ilo-perl-scripting-to-interface-with-nagios/m-p/4336913#M34836</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-01-16T06:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: ILO perl scripting to interface with nagios</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ilo-perl-scripting-to-interface-with-nagios/m-p/4336914#M34837</link>
      <description>Though I do use Nagios to monitor our stuff with quite a few custom plug-ins,&lt;BR /&gt;I have never used your ILO plug-in.&lt;BR /&gt;Doesn't the plug-in's documentation (or at least ./check_* --help) hint how to retrieve the state information that you require?&lt;BR /&gt;Maybe your tinkered up print statements don't produce the valid XML that the ILO server's firmware expects?&lt;BR /&gt;Have you thought about using one of the many Perl XML modules to format your XML string?</description>
      <pubDate>Fri, 16 Jan 2009 09:50:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ilo-perl-scripting-to-interface-with-nagios/m-p/4336914#M34837</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2009-01-16T09:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: ILO perl scripting to interface with nagios</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ilo-perl-scripting-to-interface-with-nagios/m-p/4336915#M34838</link>
      <description>Hello,&lt;BR /&gt;I have the same problem, ILO1 didnt't have the command get_embedded_health.&lt;BR /&gt;Somebody knows another way?&lt;BR /&gt;Thanks&lt;BR /&gt;Fred</description>
      <pubDate>Tue, 26 May 2009 14:04:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ilo-perl-scripting-to-interface-with-nagios/m-p/4336915#M34838</guid>
      <dc:creator>Fred Jupiter</dc:creator>
      <dc:date>2009-05-26T14:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: ILO perl scripting to interface with nagios</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ilo-perl-scripting-to-interface-with-nagios/m-p/4336916#M34839</link>
      <description>iLO1 does not feature embedded health so there's no point to querying for it.</description>
      <pubDate>Tue, 26 May 2009 20:59:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ilo-perl-scripting-to-interface-with-nagios/m-p/4336916#M34839</guid>
      <dc:creator>David Claypool</dc:creator>
      <dc:date>2009-05-26T20:59:10Z</dc:date>
    </item>
  </channel>
</rss>

