Skip to main content

HP Proliant

Pack Assets​

Templates​

The Centreon Monitoring Connector HP Proliant brings a host template:

  • HW-Server-Hp-Server-SNMP-custom

It brings the following service templates:

Service AliasService TemplateService DescriptionDefault
Hardware-CpuHW-Hp-Server-Hardware-Cpu-SNMPCheck cpu hardware
Hardware-FanHW-Hp-Server-Hardware-Fan-SNMPCheck fan hardware
Hardware-GlobalHW-Hp-Server-Hardware-Global-SNMPCheck all hardwareX
Hardware-NetworkHW-Hp-Server-Hardware-Network-SNMPCheck network hardware
Hardware-PcHW-Hp-Server-Hardware-Pc-SNMPCheck power converter hardware
Hardware-PsuHW-Hp-Server-Hardware-Psu-SNMPCheck power supply hardware
Hardware-StorageHW-Hp-Server-Hardware-Storage-SNMPCheck storage hardware
Hardware-TemperatureHW-Hp-Server-Hardware-Temperature-SNMPCheck hardware temperatures

Collected metrics & status​

Metric nameDescriptionUnit
statusCPU status

Prerequisites​

SNMP Configuration​

To use this pack, the SNMP service must be properly configured on your HP Proliant server.

Network flow​

The target server must be reachable from the Centreon poller on the UDP/161 SNMP port.

HP snmp agent install on Centreon poller​

Warning: The following procedure is valid only for Centos 7, required HP packages health and snmp-agents are in version 10.50 and only available for Centos 7.

Note that the poller should be running on HP Proliant hardware for the plugin to be working.

Install on Centreon poller HP health and snmp-agents packages:

yum install https://downloads.linux.hpe.com/SDR/repo/mcp/centos/7.0/x86_64/10.50/hp-health-10.50-1826.40.rhel7.x86_64.rpm
yum install https://downloads.linux.hpe.com/SDR/repo/mcp/centos/7.0/x86_64/10.50/hp-snmp-agents-10.50-2926.49.rhel7.x86_64.rpm

Add the following line in /etc/snmp/snmpd.conf:

dlmod cmaX /usr/lib64/libcmaX64.so

Restart the following services:

systemctl restart hp-snmp-agents
systemctl restart snmpd

Plugin Setup​

  1. Install the package on every Centreon poller expected to monitor HP Proliant resources:
yum install centreon-plugin-Hardware-Servers-Hp-Snmp
  1. On the Centreon web interface, on page Configuration > Monitoring Connector Manager, install the HP Proliant Centreon Monitoring Connector.

Configuration​

Host​

  • Log into Centreon and add a new host through Configuration > Hosts.
  • Fill the Name, Alias & IP Address/DNS fields according to your HP Proliant server settings.
  • Apply the HW-Server-Hp-Server-SNMP-custom template to the host.

When using SNMP v3, use the SNMPEXTRAOPTIONS Macro to add specific authentication parameters More information in the Troubleshooting SNMP section.

MandatoryMacroDescription
SNMPEXTRAOPTIONSConfigure your own SNMPv3 credentials combo

How to check in the CLI that the configuration is OK and what are the main options for?​

Once the plugin is installed, log into your Centreon poller's CLI using the centreon-engine user account (su - centreon-engine) and test the plugin by running the following command:

/usr/lib/centreon/plugins//centreon_hp_proliant.pl \
--plugin=hardware::server::hp::proliant::snmp::plugin \
--mode=hardware \
--hostname=10.0.0.1 \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--component='.*' \
--verbose \
--use-new-perfdata

The expected command output is shown below:

OK: All 18 components are ok [1/1 cpus, 1/1 da accelerator boards, 1/1 da controllers, 3/3 da logical drives, 12/12 da physical drives]. | 'hardware.cpu.count'=1;;;; 'hardware.daacc.count'=1;;;; 'hardware.dactl.count'=1;;;; 'hardware.daldrive.count'=3;;;; 'hardware.dapdrive.count'=12;;;;

All available options for a given mode can be displayed by adding the --help parameter to the command:

/usr/lib/centreon/plugins//centreon_hp_proliant.pl \
--plugin=hardware::server::hp::proliant::snmp::plugin \
--mode=hardware \
--help

All available modes can be displayed by adding the --list-mode parameter to the command:

/usr/lib/centreon/plugins//centreon_hp_proliant.pl \
--plugin=hardware::server::hp::proliant::snmp::plugin \
--list-mode

Troubleshooting​

Please find the troubleshooting documentation for Centreon Plugins typical issues.