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 Alias | Service Template | Service Description | Default |
---|---|---|---|
Hardware-Cpu | HW-Hp-Server-Hardware-Cpu-SNMP | Check cpu hardware | |
Hardware-Fan | HW-Hp-Server-Hardware-Fan-SNMP | Check fan hardware | |
Hardware-Global | HW-Hp-Server-Hardware-Global-SNMP | Check all hardware | X |
Hardware-Network | HW-Hp-Server-Hardware-Network-SNMP | Check network hardware | |
Hardware-Pc | HW-Hp-Server-Hardware-Pc-SNMP | Check power converter hardware | |
Hardware-Psu | HW-Hp-Server-Hardware-Psu-SNMP | Check power supply hardware | |
Hardware-Storage | HW-Hp-Server-Hardware-Storage-SNMP | Check storage hardware | |
Hardware-Temperature | HW-Hp-Server-Hardware-Temperature-SNMP | Check hardware temperatures |
Collected metrics & status​
- Hardware-Cpu
- Hardware-Fan
- Hardware-Global
- Hardware-Network
- Hardware-Pc
- Hardware-Psu
- Hardware-Storage
- Hardware-Temperature
Metric name | Description | Unit |
---|---|---|
status | CPU status |
Metric name | Description | Unit |
---|---|---|
status | Fan status | |
hardware.fan.speed.rpm | Fan speed | Rpm |
Metric name | Description | Unit |
---|---|---|
status | Components global status |
Metric name | Description | Unit |
---|---|---|
status | NIC status |
Metric name | Description | Unit |
---|---|---|
status | Power Converter status |
Metric name | Description | Unit |
---|---|---|
status | Power supply status | |
hardware.powersupply.power.watt | Power supply watt capacity used | W |
hardware.powersupply.voltage.volt | Power supply voltage | V |
Metric name | Description | Unit |
---|---|---|
status | Storage status |
Metric name | Description | Unit |
---|---|---|
status | Temperature status | |
hardware.temperature.celsius | Temperature in celsius | C |
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.
- Centos 7
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​
- Online License
- Offline License
- Install the package on every Centreon poller expected to monitor HP Proliant resources:
yum install centreon-plugin-Hardware-Servers-Hp-Snmp
- On the Centreon web interface, on page Configuration > Monitoring Connector Manager, install the HP Proliant Centreon Monitoring Connector.
- Install the package on every Centreon poller expected to monitor HP Proliant resources:
yum install centreon-plugin-Hardware-Servers-Hp-Snmp
- Install the HP Proliant Centreon Monitoring Connector RPM on the Centreon central server:
yum install centreon-pack-hardware-servers-hp-snmp
- 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.
Mandatory | Macro | Description |
---|---|---|
SNMPEXTRAOPTIONS | Configure 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.