Skip to main content

Huawei

Pack Assets​

Templates​

The Centreon Monitoring Connector Huawei brings a host template:

  • Net-Huawei-SNMP-custom

It brings the following service templates:

Service AliasService TemplateService DescriptionDefaultDiscovery
CpuNet-Huawei-Cpu-SNMPCheck the rate of the utilization of CPUX
InterfacesNet-Huawei-Interfaces-SNMPCheck interfacesX
MemoryNet-Huawei-Memory-SNMPCheck the rate of the utilization of memoryX
UptimeNet-Huawei-Uptime-SNMPCheck uptimeX

Discovery rules​

Rule NameDescription
Net-Huawei-SNMP-Packet-Errors-NameDiscover network interfaces and monitor errored and discarded packets
Net-Huawei-SNMP-Traffic-NameDiscover network interfaces and monitor bandwidth utilization

Collected metrics & status​

Metric NameUnit
cpu#usage%

Prerequisites​

SNMP Configuration​

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

Network flow​

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

Setup​

  1. Install the package on every Centreon poller expected to monitor Huawei resources:
yum install centreon-plugin-Network-Huawei-Snmp
  1. On the Centreon web interface, on page Configuration > Monitoring Connectors Manager, install the Huawei Centreon Monitoring Connector.

Configuration​

Host​

  • Log into Centreon and add a new host through Configuration > Hosts.
  • Fill the Name, Alias & IP Address/DNS fields according to your Huawei server settings.
  • Apply the Net-Huawei-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
SNMPEXTRAOPTIONS--maxrepetitions=20

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_huawei_snmp.pl \
--plugin=network::huawei::snmp::plugin \
--mode=uptime \
--hostname=10.0.0.1 \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--maxrepetitions=20 \
--warning-uptime='' \
--critical-uptime='' \
--check-overload\
--use-new-perfdata

The expected command output is shown below:

OK: System uptime is: 137d 20h 37m 57s | 'uptime'=11911077s;;;0;

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

/usr/lib/centreon/plugins//centreon_huawei_snmp.pl \
--plugin=network::huawei::snmp::plugin \
--mode=uptime \
--help

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

/usr/lib/centreon/plugins//centreon_huawei_snmp.pl \
--plugin=network::huawei::snmp::plugin \
--list-mode

Troubleshooting​

Please find the troubleshooting documentation for Centreon Plugins typical issues.