Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_hp

Current Version
3.3
Last Release Date
2019-03-12
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
  • Nagios Fusion
Owner
License
GPL
Hits
173812
Files:
FileDescription
check_hp-3.3.tar.gzversion 3.3 - always find the newest version at www.crowdedplace.com
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check CPUs, fans, array controllers, logical / physical drives, temperature and power supplies on your Proliant servers or blade systems through SNMP.

As of version 2.20 you can use this plugin to retrieve performance data for Smart Array CPUs.
The plugin uses Compaq/HPs Insight Manager SNMP Agents installed on either Windows or Linux machines to check CPUs, fans, array controllers, logical / physical drives, temperature and power supplies on your Proliant servers or blade systems.

Compaq MIBs are included in the attached archive. The new version 2 is a complete rewrite in Perl and only uses the OID-Trees, so you don't need to add the Compaq MIBs to your local configuration.

Please do not misread the "-d" parameter! The "-d" parameter stands for "DEBUG" and is not intended for production use inside Nagios! check_hp will give you information about which objects failed if there are any.

Release 2.3 just got some documentation updates about the package requirements.

Release 2.4 has been renamed, comes with a ChangeLog file and is now under version control.

Release 2.5 fixed a serious bug I introduced together with SVN versioning.

Release 2.6 introduces checks for tape drives, fibre channel adapters and event log. There has also been some code cleanup for the parts originally taken from check_ifoperstatus.

Release 2.7 has some minor cleanup around the cpqHeResilientMemCondition (event log) checks.

Release 2.8 fixes one more issue with the cpqHeEventLogCondition.

Release 2.9 adds NIC checks and some easier to read descriptions.

Release 2.10 and later - please see the ChangeLog from now on!
Reviews (11)
byarigaud, November 27, 2017
1 of 1 people found this review helpful
Nice plugin ! But see my request on github https://github.com/lairsdragon/check_hp

Overall IML entries isn't found by default check

line 521 replaced by

if ($_[3] eq "cpqHeEventLogCondition") {
byPeglas, November 26, 2017
Up and running on Wiindows Server 2016.
Had som problems with exclusion but it was me not seeing that it should not be any spaces after the commas if you have several items to exclude.
I installed the following packages on the windowsserver:
HP Insight Management Agents for Windows Server x64 Editions
HP Insight Management WBEM Providers
iLo Management Controller Driver Package for Windows Server 2016
bytjanecek, October 5, 2016
1 of 1 people found this review helpful
there is wrong name for fiber channel controller status array

line #218
wrong cpqFcaHostCntlrStatus
correct cpqFcaHostCntlrStates

(statUs vs statEs)
byDavid7660, May 18, 2016
Hi,

this plugin is working fine on linux server but with windows I have a problem with the OID of the array drive and physical drive, it is notified as "not found"
Hi! first of all, thank you for your plugin but im getting this error everytime and i cant make it work, im a big newbie in nagios :S
Hello,
I have tried it and it works fine, as README says you need to change this:
use lib "/usr/local/nagios/libexec";

to fit your distribution.
In debian/ubuntu distro installed with .deb, this is the correct line:
use lib "/usr/lib/nagios/plugins";

Kind regards.
Owner's reply

Hi there!

In the last few versions there is a small loop going through some different default folders. Maybe that helps and avoids having to manually change the path. It will make things easier for those who have little experience with nagios - now you just drop it in place and it should work without manual modifications.

If you ever come up with common folders please let me know and I'll add them to the list.

Cheers

Günther

bysmarechal, February 27, 2014
Hello,

It works very well on 2008R2, but i can't make it work on 2012R2.

Thanks for your work!
byfilthyfool, January 11, 2013
Hi,

this is really an excellent plugin.
Thx for that.
It would be perfect if it would fetch the serial no. and detailed information of the disrupted Hardware and forward the information to the plugin output.
So it would be easier to get in touch with HP itself,and it wouldn´t be necessary to doublecheck the HW information in DBs or HPSIM.
Owner's reply

Hi there,

sorry, but I'm not actually checking against these comments at any time. If you need the most up-to-date plugin please visit www.crowdedplace.com.

Anyway, what you propose is interesting enough to be implemented. Unfortunately I am no longer owing any HP hardware, so I would need some help from your side:

1) could you check if these details are available in the SNMP tree (if not for all components, it would be enough for me to know those OIDs that are there)

2) send me the output of the SNMPWALK

You can send this information to me through info@crowdedplace.com

Cheers

Günther

bysanjaymp, December 9, 2012
Compaq/HP Agent Check: CPU status - 1.3.6.1.4.1.232.1.2.2.1.1.6 (OID-tree not found, ignoring)
ERROR: No snmp response from 135.x.x.x (alarm)

SNMP agent is running on remote linux server.

define host {
use linux-server
host_name 135-x-x-x.
alias alias
address 135-x-x-x.
check_command check-host-alive
max_check_attempts 3
checks_enabled 1
notification_interval 600 initial_state o
contact_groups Team
}

# service 'Insight Manager'
define service{
use local-service
host_name 135-x-x-x.
service_description Insight Manager
check_command check_hp!public
contact_groups Team
}

# command 'check_hp'
define command{
command_name check_hp
command_line $USER1$/check_hp -H $HOSTADDRESS$ -C $ARG1$ -d
}
byansche, December 20, 2011
Hi,

thank you for developing this plugin, it helps us really monitoring our HP servers. Is it possible to get the serial number of the system with that plugin?

Greetz
Owner's reply

Hey there, I'm a bit late I know :-) But yes in theory that should be part of the SNMP tree (somewhere). Would you like to have that as part of the default status output?

byolivier.carre@jci.com, October 12, 2011
1 of 2 people found this review helpful