hp dl360 Gen10 Hardware monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
aditya.c.anand
Posts: 56
Joined: Mon Mar 20, 2017 7:16 am

hp dl360 Gen10 Hardware monitoring

Post by aditya.c.anand »

Hello Team,

Recently we have introduced "hp dl360 Gen10" hardware into our environment. Can you please specify if there is any plugin available to monitor all hardware components for the same.

Regards,
Aditya Anand
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: hp dl360 Gen10 Hardware monitoring

Post by scottwilkerson »

There are a plethora of HP plugins available here
https://exchange.nagios.org/directory/P ... 29/details
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
aditya.c.anand
Posts: 56
Joined: Mon Mar 20, 2017 7:16 am

Re: hp dl360 Gen10 Hardware monitoring

Post by aditya.c.anand »

Hello Team,

We tried using the script check_ilo2_health.pl , but we are facing the below mentioned error:

[root@ker-l-smwdbs03p sprabha]# ./check_ilo2_health.pl -u Administrator -p xxxxxxxxxx -H xxx.xx.xx.xxx
CHECK_ILO2_HEALTH.PL UNKNOWN - plugin timed out (timeout 60s)

Can you please help , what can be done to fix the issue.

Regards,
Aditya Anand
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: hp dl360 Gen10 Hardware monitoring

Post by ssax »

Please post the output of these commands:

Code: Select all

nmap -p80,443 X.X.X.X
/usr/local/nagios/libexec/check_ilo2_health.pl -u Administrator -p 'password' -H X.X.X.X -v
aditya.c.anand
Posts: 56
Joined: Mon Mar 20, 2017 7:16 am

Re: hp dl360 Gen10 Hardware monitoring

Post by aditya.c.anand »

Hello Team,

Please find the below output :

[root@xxxxxx sprabha]# nmap -p80,443 xxxxxxxxx

Starting Nmap 6.40 ( http://nmap.org ) at 2019-03-20 17:12 CET
Nmap scan report xxxxxxxxxx (xxxxxxxx)
Host is up (0.00037s latency).
PORT STATE SERVICE
80/tcp open http
443/tcp open https

Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds

[root@xxxxxxx sprabha]# ./check_ilo2_health.pl -u Administrator -p xxxxxx -H xxxxxxxx -v
hostname is xxxxxxxxxxxxx
retry: 0
HTTP/1.1 501 Not Implemented
Content-Type: text/plain
Date: Wed, 20 Mar 2019 15:55:56 GMT
X-Frame-Options: sameorigin
Content-Length: 0

HTTP/1.1 501 Not Implemented
Content-Type: text/plain
Date: Wed, 20 Mar 2019 15:55:56 GMT
X-Frame-Options: sameorigin
Content-Length: 0

HTTP/1.1 501 Not Implemented
Content-Type: text/plain
Date: Wed, 20 Mar 2019 15:55:56 GMT
X-Frame-Options: sameorigin
Content-Length: 0

HTTP/1.1 501 Not Implemented
Content-Type: text/plain
Date: Wed, 20 Mar 2019 15:55:56 GMT
X-Frame-Options: sameorigin
Content-Length: 0

HTTP/1.1 501 Not Implemented
Content-Type: text/plain
Date: Wed, 20 Mar 2019 15:55:56 GMT
X-Frame-Options: sameorigin
Content-Length: 0

HTTP/1.1 501 Not Implemented
Content-Type: text/plain
Date: Wed, 20 Mar 2019 15:55:56 GMT
X-Frame-Options: sameorigin
Content-Length: 0

HTTP/1.1 501 Not Implemented
Content-Type: text/plain
Date: Wed, 20 Mar 2019 15:55:56 GMT
X-Frame-Options: sameorigin
Content-Length: 0

HTTP/1.1 400 Bad Request
Content-Type: text/plain
Date: Wed, 20 Mar 2019 15:55:56 GMT
X-Frame-Options: sameorigin
Content-Length: 0

HTTP/1.1 400 Bad Request
Content-Type: text/plain
Date: Wed, 20 Mar 2019 15:55:56 GMT
X-Frame-Options: sameorigin
Content-Length: 0

CHECK_ILO2_HEALTH.PL UNKNOWN - plugin timed out (timeout 15s)

Please help us with the same.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: hp dl360 Gen10 Hardware monitoring

Post by benjaminsmith »

Hi,

Thanks for posting those results. There could be a timeout issue or a perl issue here.

Please login as nagios and run the following from the command line and post the output for us to review:

Code: Select all

perl -d /usr/local/nagios/libexec/check_ilo2_health.pl -u Administrator -p xxxxxx -H xxxxxxxx -v -t 120
/usr/local/nagios/libexec/check_ilo2_health.pl -u Administrator -p xxxxxx -H xxxxxxxx -v -t 120 -3
perl -d /usr/local/nagios/libexec/check_ilo2_health.pl -u Administrator -p xxxxxx -H xxxxxxxx -v -t 120 -3
Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
gwakem
Posts: 238
Joined: Mon Jan 23, 2012 2:02 pm
Location: Asheville, NC

Re: hp dl360 Gen10 Hardware monitoring

Post by gwakem »

For what it's worth, the gen 10 should use ilo3, which is where that -3 comes in in the check. Otherwise it will just hang and timeout. I have to set the timeout to 30 seconds to make sure I dont timeout before the results are back. This check parses through quite a bit of data, so it can take a few seconds. Here is what I have and it works great:

Code: Select all

./check_ilo2_health.pl -H xxxxxxxxxxxxx -u xxxxxxxxxxxxxxxx -p xxxxxxxxxxxxxxxxxx -t -30 -3 -g -d
ILO2_HEALTH OK - (ProLiant DL380 Gen9 - SystemROM: 2.61 Jul 27 2018 - Serial: xxxxxxxxxxxxxx - Intelligent Provisioning FW N/A - Servername: xxxxxxxxxxxx Temperatures: 01-Inlet_Ambient (OK): 19, 02-CPU_1 (OK): 40, 05-P1_DIMM_7-12 (OK): 29, 08-HD_Max (OK): 35, 10-Chipset (OK): 42, 11-PS_1_Inlet (OK): 27, 12-PS_2_Inlet (OK): 28, 13-VR_P1 (OK): 32, 15-VR_P1_Mem (OK): 28, 16-VR_P1_Mem (OK): 27, 19-PS_1_Internal (OK): 40, 20-PS_2_Internal (OK): 40, 27-HD_Controller (OK): 66, 29-LOM (OK): 40, 30-Front_Ambient (OK): 25, 31-PCI_1_Zone. (OK): 29, 32-PCI_2_Zone. (OK): 31, 33-PCI_3_Zone. (OK): 31, 37-HD_Cntlr_Zone (OK): 51, 38-I/O_Zone (OK): 31, 39-P/S_2_Zone (OK): 26, 40-Battery_Zone (OK): 32, 41-iLO_Zone (OK): 36, 43-Storage_Batt (OK): 22, 44-Fuse (OK): 26 | 01-Inlet_Ambient=19;42;50 13-VR_P1=32;115;120 15-VR_P1_Mem=28;115;120 16-VR_P1_Mem=27;115;120 31-PCI_1_Zone.=29;70;75 32-PCI_2_Zone.=31;70;75 33-PCI_3_Zone.=31;70;75 38-I/O_Zone=31;75;80 40-Battery_Zone=32;75;80 41-iLO_Zone=36;90;95
-t 30 = 30 second timeout
-g = Get info (adds firmware version, server type and model number, serial number, and hostname)
-d = Get Perfdata for historical graphing and trending

You can leave the -d and -g off if you want but I have found them useful., I would strongly suggest keeping the -t 30, and it may not even work without the -3 on the check.

One final point, I would also suggest creating a user account on the ilo and giving it no permissions outside what are assigned by default. That user should be read only, and you can use that username and password to check the ilo. This way you have a secure, RO account that you won't care if someone parsing your configs finds the password to. Or if your security team is sniffing the wire.
--
Griffin Wakem
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: hp dl360 Gen10 Hardware monitoring

Post by benjaminsmith »

Thanks Griffin!

Let us know if you're able to get it working properly by increasing the timeout settings ( and ilo3). If not please post the output.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked