Skip to main content

Lenovo Flex System Switch

Overview​

Lenovo develops, manufactures and sells computer hardware and software. Flex System is Lenovo's blade server architecture.

Monitoring Connector assets​

Monitored objects​

  • Lenovo Flex System network switch

Collected Metrics​

In addition to modes and metrics described here, it is also possible to monitor the following indicators:

  • Ntp: Check time offset of server with ntp server
  • Uptime: Elapsed time since the last reboot
Metric nameDescriptionUnit
cpu.utilization.1m.percentageCPU utilization for the last minute%
cpu.utilization.5m.percentageCPU utilization for the last 5 minutes%

Prerequisites​

To use this pack, the SNMP service must be properly configured on your Flex System blade server. Lenovo provides an official documentation to achieve this:

Network flow​

The Lenovo Flex System blade server must be reachable from the Centreon Poller on the UDP/161 SNMP port.

Installation​

  1. Install the package on every Centreon poller expected to monitor a Lenovo Flex System network switch:
yum install centreon-plugin-Network-Lenovo-Flexsystem-Snmp
  1. On the centreon Web interface, install the Lenovo Flex System Switch Centreon Monitoring Connector on the Configuration > Monitoring Connector Manager page

Configuration​

Go to Configuration > Host > and click Add. Then fill the SNMP Community and SNMP Version fields and apply the template Net-Lenovo-Flexsystem-SNMP-custom.

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

MandatoryNameDescription
SNMPEXTRAOPTIONSConfigure your own SNMPv3 credentials combo

FAQ​

How do I run my plugin through the CLI and what do the main parameters stand for ?​

Once you've installed the plugin, you can test it logging with centreon-engine user:

/usr/lib/centreon/plugins/centreon_net_lenovo_flexsystem_snmp.pl \
--plugin=network::lenovo::flexsystem::snmp::plugin \
--mode=interfaces --hostname=10.30.2.138 \
--snmp-community='public' \
--snmp-version='2c' \
--add-status \
--add-traffic

Expected command output is shown below:

OK: All interfaces are ok | 'traffic_in_lo'=11723.33b/s;;;0;10000000 'traffic_out_lo'=11723.33b/s;;;0;10000000 'traffic_in_ens192'=14097.70b/s;;;0;10000000000 'traffic_out_ens192'=21796.60b/s;;;0;10000000000

All available modes with the plugin can be displayed with:

/usr/lib/centreon/plugins/centreon_net_lenovo_flexsystem_snmp.pl \
--plugin=network::lenovo::flexsystem::snmp::plugin \
--list-mode

The available options for a mode can be displayed using the --help parameter:

/usr/lib/centreon/plugins/centreon_net_lenovo_flexsystem_snmp.pl \
--plugin=network::lenovo::flexsystem::snmp::plugin \
--mode=interfaces \
--help

UNKNOWN: SNMP GET Request : Timeout​

If you get this message, you're probably facing one of theses issues:

  • Your SNMP server isn't started or misconfigured
  • An external device is blocking your request (firewall, ...)

UNKNOWN: SNMP GET Request : Cant get a single value.​

This message generally means that SNMP privileges are not wide enough for the mode/plugin to work properly.