Skip to main content

Huawei OceanStor SNMP

Monitoring Connector Assets


The Centreon Pack Huawei OceanStor SNMP brings a host template:

  • HW-Storage-Huawei-Oceanstor-SNMP-custom

It brings the following service templates:

Service AliasService TemplateService DescriptionDefaultDiscovery
ControllersHW-Storage-Huawei-Oceanstor-Controllers-SNMPCheck controllersXX
Hardware-GlobalHW-Storage-Huawei-Oceanstor-Hardware-Global-SNMPCheck hardwareX
LunsHW-Storage-Huawei-Oceanstor-Luns-SNMPCheck LUNsXX
Storage-PoolsHW-Storage-Huawei-Oceanstor-Storage-Pools-SNMPCheck storage poolsX

Discovery rules

Rule nameDescription
HW-Storage-Huawei-Oceanstor-SNMP-Controller-IdDiscover controllers and monitor cpu and memory usage
HW-Storage-Huawei-Oceanstor-SNMP-Lun-NameDiscover LUNs and monitor space usage
HW-Storage-Huawei-Oceanstor-SNMP-Storage-Pool-NameDiscover storage pools and monitor space usage

More information about discovering services automatically is available on the dedicated page and in the following chapter.

Collected metrics & status

Metric nameUnit


SNMP Configuration

To control your Huawei OceanStor, the SNMP must be configured.

Network flow

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


Monitoring Pack

If the platform uses an online license, you can skip the package installation instruction below as it is not required to have the pack displayed within the Configuration > Monitoring Connector Manager menu. If the platform uses an offline license, install the package on the central server with the command corresponding to the operating system's package manager:

dnf install centreon-pack-hardware-storage-huawei-oceanstor-snmp

Whatever the license type (online or offline), install the Huawei OceanStor SNMP Pack through the Configuration > Monitoring Connector Manager menu.


Since Centreon 22.04, you can benefit from the 'Automatic plugin installation' feature. When this feature is enabled, you can skip the installation part below.

You still have to manually install the plugin on the poller(s) when:

  • Automatic plugin installation is turned off
  • You want to run a discovery job from a poller that doesn't monitor any resource of this kind yet

More information in the Installing the plugin section. Use the commands below according to your operating system's package manager:

dnf install centreon-plugin-Hardware-Storage-Huawei-Oceanstor-Snmp



  • Log into Centreon and add a new host through Configuration > Hosts.
  • Fill the Name, Alias & IP Address/DNS fields according to your Huawei OceanStor server settings.
  • Apply the HW-Storage-Huawei-Oceanstor-SNMP-custom template to the host.

If you are using SNMP Version 3, use the SNMPEXTRAOPTIONS macro to configure

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

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/ \
--plugin=storage::huawei::oceanstor::snmp::plugin \
--mode=controllers \
--hostname= \
--snmp-version='2c' \
--snmp-community='huawei_ro' \
--warning-cpu-utilization=90 \
--warning-cpu-utilization=95 \

Expected command output is shown below:

OK: All controllers are ok | '0A#controller.cpu.utilization.percentage'=6.00%;0:95;;0;100 '0A#controller.memory.usage.percentage'=76.00%;;;0;100 '0B#controller.cpu.utilization.percentage'=8.00%;0:95;;0;100 '0B#controller.memory.usage.percentage'=75.00%;;;0;100
checking controller '0A'
health status: Normal [running status: Online]
cpu usage: 6.00 %
memory used: 76.00 %
checking controller '0B'
health status: Normal [running status: Online]
cpu usage: 8.00 %
memory used: 75.00 %

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

/usr/lib/centreon/plugins/ \
--plugin=storage::huawei::oceanstor::snmp::plugin \
--mode=controllers \

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

/usr/lib/centreon/plugins/ \
--plugin=storage::huawei::oceanstor::snmp::plugin \


Please find the troubleshooting documentation for Centreon Plugins typical issues.