Huawei
Pack Assetsβ
Templatesβ
The Centreon Monitoring Connector Huawei brings a host template:
- Net-Huawei-SNMP-custom
It brings the following service templates:
Service Alias | Service Template | Service Description | Default | Discovery |
---|---|---|---|---|
Cpu | Net-Huawei-Cpu-SNMP | Check the rate of the utilization of CPU | X | |
Interfaces | Net-Huawei-Interfaces-SNMP | Check interfaces | X | |
Memory | Net-Huawei-Memory-SNMP | Check the rate of the utilization of memory | X | |
Uptime | Net-Huawei-Uptime-SNMP | Check uptime | X |
Discovery rulesβ
Rule Name | Description |
---|---|
Net-Huawei-SNMP-Packet-Errors-Name | Discover network interfaces and monitor errored and discarded packets |
Net-Huawei-SNMP-Traffic-Name | Discover network interfaces and monitor bandwidth utilization |
Collected metrics & statusβ
- Cpu
- Interfaces
- Memory
- Uptime
Metric Name | Unit |
---|---|
cpu#usage | % |
Metric name | Description | Unit |
---|---|---|
status | Status of the interface | |
interface_name#interface.traffic.in.bitspersecond | Incoming traffic going through the interface | b/s |
interface_name#interface.traffic.out.bitspersecond | Outgoing traffic going through the interface | b/s |
interface_name#interface.packets.in.error.percentage | Incoming errored packets going through the interface | % |
interface_name#interface.packets.in.discard.percentage | Incoming discarded packets going through the interface | % |
interface_name#interface.packets.out.error.percentage | Outgoing errored packets going through the interface | % |
interface_name#interface.packets.out.discard.percentage | Outgoing discarded packets going through the interface | % |
Metric Name | Unit |
---|---|
memory#usage | B |
Metric Name | Unit |
---|---|
uptime | s |
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β
- Online License
- Offline License
- Install the package on every Centreon poller expected to monitor Huawei resources:
yum install centreon-plugin-Network-Huawei-Snmp
- On the Centreon web interface, on page Configuration > Monitoring Connectors Manager, install the Huawei Centreon Monitoring Connector.
- Install the package on every Centreon poller expected to monitor Huawei resources:
yum install centreon-plugin-Network-Huawei-Snmp
- Install the Huawei Centreon Monitoring Connector RPM on the Centreon central server:
yum install centreon-pack-network-huawei-snmp
- 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.
Mandatory | Macro | Description |
---|---|---|
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.