Skip to main content

Clever PDU

Pack Assets​

Templates​

The Centreon Plugin Pack Clever PDU brings a host template:

  • HW-Pdu-Clever-SNMP-custom

It brings the following service template:

Service AliasService TemplateService DescriptionDefault
Power-Source-UsageHW-Pdu-Clever-Power-Source-Usage-SNMPCheck power source usageX

Collected metrics & status​

Metric NameUnit
currentA
powerW
voltageV

Prerequisites​

SNMP Configuration​

To use this pack, the SNMP service must be properly configured on your Clever PDU server. Please refer to the official documentation from Clever:

Network flow​

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

Setup​

  1. Install the plugin package on every Centreon poller expected to monitor Clever PDU resources:
yum install centreon-plugin-Hardware-Pdu-Clever-Snmp
  1. On the Centreon web interface, on page Configuration > Plugin Packs, install the Clever PDU Centreon Plugin Pack.

Configuration​

Host​

  • Log into Centreon and add a new host through Configuration > Hosts.
  • Fill the Name, Alias & IP Address/DNS fields according to your Clever PDU server settings.
  • Apply the HW-Pdu-Clever-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_pdu_clever_snmp.pl \
--plugin=hardware::pdu::clever::snmp::plugin \
--mode=ps-usage \
--hostname='10.0.0.1' \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--warning-power='' \
--critical-power='' \
--warning-voltage='' \
--critical-voltage='' \
--warning-current='' \
--critical-current='' \
--use-new-perfdata

The expected command output is shown below:

OK: Input power : %s W Current : %s A Voltage : %s V | 

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

/usr/lib/centreon/plugins//centreon_pdu_clever_snmp.pl \
--plugin=hardware::pdu::clever::snmp::plugin \
--mode=ps-usage \
--help

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

/usr/lib/centreon/plugins//centreon_pdu_clever_snmp.pl \
--plugin=hardware::pdu::clever::snmp::plugin \
--list-mode

Troubleshooting​

Please find the troubleshooting documentation for Centreon Plugins typical issues.