Page 1 of 1

Check_HP Install Error

Posted: Mon Oct 14, 2019 12:28 pm
by ecolgroveMOT
Trying to install the Check_HP plugin and in returns:

Compaq/HP Agent Check: no cpq/hp component found

When i run ./check_hp

Re: Check_HP Install Error

Posted: Mon Oct 14, 2019 1:22 pm
by benjaminsmith
Hello,

Did you follow the instructions for setting this up in the Readme file? The plugin has a few requirements such as Net::SNMP.
Please update the 'lib' path at the top of check_hp to fit your distribution.
check_hp needs to locate the utils.pm library that comes with nagios-plugins.

You will need the Net::SNMP package as well. In most distributions this is
available as a package named "libsnmp-perl" - so make sure to install it if you
stumble accross an error starting with "Can't locate Net/SNMP.pm in @INC [...]".
Are you able to contact the remote host using an snmpwalk command?

Code: Select all

snmpwalk -v2c -c communitystring remotehostipaddress

Re: Check_HP Install Error

Posted: Tue Oct 15, 2019 1:06 pm
by benjaminsmith
Hello,

Thanks for your message. Are you running the snmpwalk command from the Nagios XI server to the remote host? There could be a firewall blocking SNMP traffic.