IBM Bladecenter Switch SNMP
Overviewβ
IBM develops, manufactures and sells hardware, middleware, software and other services and products. Created in 2002, IBM BladeCenter was IBM's blade server architecture.
Monitoring Connector assetsβ
Monitored objectsβ
- IBM Bladecenter switch module
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
- Cpu
- Storage
- Memory-Usage
- Traffic
- Environment
| Metric name | Description | Unit |
|---|---|---|
| cpu.utilization.1m.percentage | CPU utilization for the last minute | % |
| cpu.utilization.5m.percentage | CPU utilization for the last 5 minutes | % |
| Metric name | Description | Unit |
|---|---|---|
| storage.partitions.count | Total number of partition | |
| partition#storage.space.usage.bytes | Used space on a disk partition | Bytes |
| Metric name | Description | Unit |
|---|---|---|
| memory.usage.bytes | Total current memory usage | Bytes |
| memory.usage.percentage | Total current memory usage | % |
| memory.free.bytes | Current free memory | Bytes |
| Metric name | Description | Unit |
|---|---|---|
| status | Interface status | |
| interface.traffic.*.bitspersecond | *in/out. Incoming/outgoing traffic going through the interface | Bytes/s & % |
| interface.packets.*.errors.percentage | *in/out. Incoming/outgoing errored packets going through an interface | Count & % |
| interface.packets.*.discards.percentage | *in/out. Incoming/outgoing discarded packets going through an interface | Count & % |
A regexp filter is available to target a specific interface identifier/ifName [--interface='^my-interface-name$' --name]
| Metric name | Description | Unit |
|---|---|---|
| hardware.temperature.celsius | Temperature of the system | Celsius |
| faultled | Status of the fault LED (On/Off) |
You can use --no-component if you want to alert when a component is
absent/removed. You can also overload the default status using the
--threshold-overload option.
Prerequisitesβ
To use this pack, the SNMP service must be properly configured on your IBM BladeCenter server. Lenovo provides an official documentation to achieve this:
- Throught BladeCenter Web Interface: https://bladecenter.lenovofiles.com/help/index.jsp?topic=%2Fcom.lenovo.bladecenter.mgtmod.doc%2Fkp1ag_bc_mmug_configsnmp
- Throught BladeCenter Command-Line Interface : https://bladecenter.lenovofiles.com/help/index.jsp?topic=%2Fcom.lenovo.bladecenter.advmgtmod.doc%2Fkp1bc_bc_cli_snmp
Network flowβ
The target IBM BladeCenter server must be reachable from the Centreon Poller on the UDP/161 SNMP port.
Installationβ
- Online License
- Offline License
- Install the package on every Centreon poller expected to monitor an IBM BladeCenter switch module:
yum install centreon-plugin-Network-Ibm-Bladecenter-Snmp
- On the centreon Web interface, install the IBM Bladecenter Switch SNMP Centreon Monitoring Connector on the Configuration > Monitoring Connector Manager page
- Install the Plugin on every Centreon poller expected to monitor an IBM BladeCenter switch module:
yum install centreon-plugin-Network-Ibm-Bladecenter-Snmp
- Install the Centreon Monitoring Connector RPM on the Centreon Central server:
yum install centreon-pack-network-ibm-bladecenter-snmp
- On the centreon Web interface, install the IBM Bladecenter Switch SNMP 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-Ibm-Bladecenter-SNMP-custom.
When using SNMP v3, use the SNMPEXTRAOPTIONS Macro to add specific authentication parameters More information in the Troubleshooting SNMP section.
| Mandatory | Name | Description |
|---|---|---|
| SNMPEXTRAOPTIONS | Configure 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_bladecenter_snmp.pl \
--plugin=network::ibm::bladecenter::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'=19795.35b/s;;;0;10000000 'traffic_out_lo'=19795.35b/s;;;0;10000000 'traffic_in_ens192'=26001.62b/s;;;0;10000000000 'traffic_out_ens192'=24438.38b/s;;;0;10000000000
All available modes with the plugin can be displayed with:
/usr/lib/centreon/plugins/centreon_net_bladecenter_snmp.pl \
---plugin=network::ibm::bladecenter::snmp::plugin \
--list-mode
The available options for a mode can be displayed using the --help parameter:
/usr/lib/centreon/plugins/centreon_net_bladecenter_snmp.pl \
--plugin=network::ibm::bladecenter::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.