Skip to main content

Lenovo RackSwitch SNMP

Pack Assets​


The Centreon Pack Lenovo RackSwitch SNMP brings 1 host template:

  • Net-Lenovo-Rackswitch-SNMP-custom

It brings the following Service Templates:

Service AliasService TemplateDefaultDiscovery

Discovery rules​

Rule nameDescription
Net-Lenovo-Rackswitch-SNMP-Interface-NameDiscover network interfaces and monitor utilization

Collected metrics & status​

Metric nameDescriptionUnit
cpu.utilization.5s.percentageCPU utilization for the last 5 seconds%
cpu.utilization.1m.percentageCPU utilization for the last minute%
cpu.utilization.5m.percentageCPU utilization for the last 5 minutes%


SNMP Configuration​

To use this pack, the SNMP service must be properly configured on your device.

Network flow​

The target equipment must be reachable from the Centreon Poller on the UDP/161 SNMP port.


  1. Install the Centreon package on every Centreon poller expected to monitor Lenovo RackSwitch SNMP resources:
yum install centreon-plugin-Network-Lenovo-Rackswitch-Snmp
  1. On the Centreon Web interface, install the Lenovo RackSwitch SNMP Centreon Pack on the Configuration > Monitoring Connector Manager page.



  • Log into Centreon and add a new Host through Configuration > Hosts
  • Fill the Name, Alias & IP Address / DNS fields according to your Lenovo RackSwitch SNMP server settings
  • Select the Net-Lenovo-Rackswitch-SNMP-custom template to apply to the Host

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

SNMPEXTRAOPTIONS(Default: '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 CLI using the centreon-engine user account and test the Plugin by running the following command:

/usr/lib/centreon/plugins/ \
--plugin=network::lenovo::rackswitch::snmp::plugin \
--mode=memory \
--hostname='' \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--warning-usage-prct='' \
--critical-usage-prct='' \

The expected command output is shown below:

OK: Memory total: 502.43 MB used: 164.67 MB (32.77%) free: 337.76 MB (67.23%) | 'memory.usage.bytes'=172666880B;;;0;526831616 ''=354164736B;;;0;526831616 'memory.usage.percentage'=32.77%;;;0;100

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

/usr/lib/centreon/plugins/ \
--plugin=network::lenovo::rackswitch::snmp::plugin \
--mode=memory \

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

/usr/lib/centreon/plugins/ \
--plugin=network::lenovo::rackswitch::snmp::plugin \


Please find all the troubleshooting documentation for the Centreon Plugins in the dedicated page