Page 1 of 2
Check_openmanage Internal Error
Posted: Wed Jan 22, 2014 12:37 pm
by Omishlord
Hello everyone. I am trying to set up monitoring on my Dell servers using an check_openmanage plugin that I have used for years. I installed Dell Open Management on the server and verify that the Dell Open Manage Server Administrator opens and can see all Dell hardware. I then installed the Nagios Remote Plugin Executor fr NT/W2k as a service. Then from my Nagios server I manually run the check command and receive this output:
CMD:
/usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c check_openmanage -t 30
OUTPUT:
OK - System: 'PowerEdge R720', SN: 'B9C38Y1', 512 GB ram (16 dimms), 2 logical drives, 10 physical drives<br/>INTERNAL ERROR: Use of uninitialized value in string ne at c:\nrpe_nt\check_openmanage\check_openmanage line 1637.
What can I do to correct this internal error? Attached is the check_openmanage file in question. Thank you for the help.
Re: Check_openmanage Internal Error
Posted: Wed Jan 22, 2014 5:30 pm
by slansing
Is the openmanage check working properly against these same metrics on other systems? It looks like that line has to do with firmware, unfortunately we don't have this hardware in house to test with but I will do some poking around.
Re: Check_openmanage Internal Error
Posted: Thu Jan 23, 2014 4:42 pm
by Omishlord
Attached is some information from 4 servers that 2 work and 2 don't. The 2 that don't are running the latest Dell Open Manage and have more information presented at the firmware page (like latest Firmware). The 2 that work do not have as much information.
My question is, is the plug in confusing the information as what is current and latest installed? Is the plugin not handling the notification that i should update the firmware to stay current correctly? The Dell Open Manage results on the server do not show "Degradation" but is showing an alert that my firmware is out of date. Maybe that is the cause?
Thank you for your help and time. Let me know if you need any more information that i did not provide.
Re: Check_openmanage Internal Error
Posted: Thu Jan 23, 2014 5:10 pm
by slansing
Hmm, would it be possible to do a firmware update on one of them? I'm sure they are in production, and it would be hard to slot this in on short notice.
Re: Check_openmanage Internal Error
Posted: Thu Jan 23, 2014 6:15 pm
by Omishlord
I am planning on it. I will let you know when I finish and update with results.
Re: Check_openmanage Internal Error
Posted: Thu Jan 23, 2014 6:21 pm
by Omishlord
Im sorry. I do have my latest server, 4 months old, that came with the most up to date firmware installed, 21.2.0-0007, and it is giving the same "unknown" with the internal error at the same line number.
I will still try the update on the others to see results.
Re: Check_openmanage Internal Error
Posted: Fri Jan 24, 2014 2:32 pm
by slansing
Seems like a compatibility issue with the systems you are running, what is the old model vs the new model? I'm going to try to pin down if this is supported.
Re: Check_openmanage Internal Error
Posted: Fri Jan 24, 2014 2:40 pm
by Omishlord
Sequal is a PowerEdge 6850 - working
Atlas is a PowerEdge R710 - working
Mail2 is a PowerEdge R720 -not working
Shasta is a PowerEdge R720 -not working
Sisters is a PowerEdge R720 - not working
Listed oldest to newest.
Re: Check_openmanage Internal Error
Posted: Fri Jan 24, 2014 3:20 pm
by abrist
Lets try changing lines 1637 and 1638 as the script is seeing the logical operator 'ne' (not equal) as a string:
From:
Code: Select all
$minfw = $out->{'Minimum Required Firmware Version'} ne 'Not Applicable'
? $out->{'Minimum Required Firmware Version'} : undef;
To:
Code: Select all
$minfw = ($out->{'Minimum Required Firmware Version'} ne 'Not Applicable'
? $out->{'Minimum Required Firmware Version'} : undef);
Re: Check_openmanage Internal Error
Posted: Fri Jan 24, 2014 4:14 pm
by Omishlord
No change on output to nagios. The error is still showing. I changed this on two of the servers, one that shows the "degraded"(Mail2) and one that would be ok without the error (sisters).