Skip to main content

Huawei Switches

Huawei Switches

Plugin: go.d.plugin Module: snmp

Maintained by Netdata

Overview​

Monitor Huawei Switches (switch) with Netdata over SNMP. Netdata recognizes the device automatically by its sysObjectID (recognized across 2 device identifiers) and collects the metrics this profile declares — on top of the generic SNMP baseline — with no manual OID configuration.

Netdata's SNMP collector matches the device to the huawei-switches.yaml profile via sysObjectID/sysDescr, then polls the OIDs it declares.

This integration is supported on all platforms.

This integration supports multiple instances configured side-by-side.

Default Behavior​

Auto-Detection​

Auto-detected as Huawei Switches via sysObjectID/sysDescr.

Limits​

The default configuration for this integration does not impose any limits.

Performance Impact​

The default configuration for this integration is not expected to impose a significant performance impact on the system.

Setup​

You can configure the snmp collector in two ways:

MethodBest forHow to
UIFast setup without editing filesGo to Nodes → Configure this node → Collectors → Jobs, search for snmp, then click + to add a job.
FileIf you prefer configuring via file, or need to automate deployments (e.g., with Ansible)Edit go.d/snmp.conf and add a job.
important

UI configuration requires paid Netdata Cloud plan.

Prerequisites​

SNMP access​

SNMP must be enabled on the device and reachable from the Netdata Agent acting as the site's SNMP hub.

Configuration​

Options​

Configure the SNMP collector with the device hostname and SNMP credentials. See the SNMP collector reference for all options.

via UI​

Configure the snmp collector from the Netdata web interface:

  1. Go to Nodes.
  2. Select the node where you want the snmp data-collection job to run and click the ⚙ (Configure this node). That node will run the data collection.
  3. The Collectors → Jobs view opens by default.
  4. In the Search box, type snmp (or scroll the list) to locate the snmp collector.
  5. Click the + next to the snmp collector to add a new job.
  6. Fill in the job fields, then click Test to verify the configuration and Submit to save.
    • Test runs the job with the provided settings and shows whether data can be collected.
    • If it fails, an error message appears with details (for example, connection refused, timeout, or command execution errors), so you can adjust and retest.

via File​

The configuration file name for this integration is go.d/snmp.conf.

The file format is YAML. Generally, the structure is:

update_every: 1
autodetection_retry: 0
jobs:
- name: some_name1
- name: some_name2

You can edit the configuration file using the edit-config script from the Netdata config directory.

cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
sudo ./edit-config go.d/snmp.conf
Examples​

There are no configuration examples.

Alerts​

There are no alerts configured by default for this integration.

Metrics​

On top of the generic SNMP baseline (the Generic SNMP Device integration — interfaces, system, IP/TCP/UDP, host resources), this Huawei Switches profile adds the metrics below. Each is collected only where the device exposes the matching OID — inclusion means the profile requests it; availability depends on the device model and software.

25 metrics in 9 groups; each row is a chart context usable in alerts.

GroupMetrics
Hardware / Fan5
Hardware / Module4
Hardware / Power3
Hardware / Sensor2
Hardware / Stack3
Network / Interface4
System / CPU1
System / Memory2
System / Uptime1

Hardware / Fan​

Metric (chart context)UnitScopeDescription
snmp.device_prof_huawei_hwEntityFanPresent{status}per huawei_hw_entity_fan_slot, huawei_hw_entity_fan_snWhether the fan is present
snmp.device_prof_huawei_hwEntityFanReg{status}per huawei_hw_entity_fan_slot, huawei_hw_entity_fan_snWhether the fan is registered
snmp.device_prof_huawei_hwEntityFanSpdAdjMode{status}per huawei_hw_entity_fan_slot, huawei_hw_entity_fan_snFan speed adjustment mode
snmp.device_prof_huawei_hwEntityFanSpeed%per huawei_hw_entity_fan_slot, huawei_hw_entity_fan_snThis object indicates the rotation speed in percentage of the full speed of the fan
snmp.device_prof_huawei_hwEntityFanState{status}per huawei_hw_entity_fan_slot, huawei_hw_entity_fan_snOperational state of the fan

Hardware / Module​

Metric (chart context)UnitScopeDescription
snmp.device_prof_huawei_hwEntityAdminStatus{status}per huawei_hw_entity_board_nameAdministrative status of the entity
snmp.device_prof_huawei_hwEntityFaultLight{status}per huawei_hw_entity_board_nameFault light status of the entity
snmp.device_prof_huawei_hwEntityOperStatus{status}per huawei_hw_entity_board_nameOperational status of the entity
snmp.device_prof_huawei_hwEntityStandbyStatus{status}per huawei_hw_entity_board_nameStandby status of the entity

Hardware / Power​

Metric (chart context)UnitScopeDescription
snmp.device_prof_huawei_hwSystemPowerRemainPowerWper huawei_hw_system_power_device_idDevice remaining power
snmp.device_prof_huawei_hwSystemPowerTotalPowerWper huawei_hw_system_power_device_idDevice total power
snmp.device_prof_huawei_hwSystemPowerUsedPowerWper huawei_hw_system_power_device_idDevice used power

Hardware / Sensor​

Metric (chart context)UnitScopeDescription
snmp.device_prof_huawei_hwEntityTemperatureCelper huawei_hw_entity_board_nameThe temperature for the entity
snmp.device_prof_huawei_hwEntityVoltageVper huawei_hw_entity_board_nameThe voltage for the entity

Hardware / Stack​

Metric (chart context)UnitScopeDescription
snmp.device_prof_huawei_hwMemberStackPriority{priority}per huawei_hw_member_stack_mac_address, huawei_hw_member_stack_device_type, huawei_hw_member_stack_object_idStack member's priority
snmp.device_prof_huawei_hwMemberStackRole{status}per huawei_hw_member_stack_mac_address, huawei_hw_member_stack_device_type, huawei_hw_member_stack_object_idCurrent role of the stack member
snmp.device_prof_huawei_hwStackPortStatus{status}per huawei_hw_stack_port_nameOperational status of the stack port

Network / Interface​

Metric (chart context)UnitScopeDescription
snmp.device_prof_ifAdminStatus{status}per interface, interfaceCurrent administrative state of the interface
snmp.device_prof_ifHighSpeedbit/sper interface, interfaceEstimate of the interface's current bandwidth
snmp.device_prof_ifNumber{interface}deviceNumber of network interfaces regardless of their current state present on this system
snmp.device_prof_ifOperStatus{status}per interface, interfaceCurrent operational state of the interface

System / CPU​

Metric (chart context)UnitScopeDescription
snmp.device_prof_cpu_usage%per cpu_indexThe current CPU utilization

System / Memory​

Metric (chart context)UnitScopeDescription
snmp.device_prof_huawei_hwMemoryDevFreeByper mem_indexIndicates the free size of the memory
snmp.device_prof_huawei_hwMemoryDevSizeByper mem_indexIndicates the total size of the memory module which is on the managed object

System / Uptime​

Metric (chart context)UnitScopeDescription
snmp.device_prof_systemUptimesdeviceTime since the system was last rebooted or powered on.

Troubleshooting​

Other Problems​

Collect Diagnostics for Netdata Support​

For SNMP metrics, BGP, licensing, or topology issues, follow Collect SNMP troubleshooting data to include built-in diagnostics in a support bundle. SNMP evidence is unsanitized; share the bundle through a restricted Netdata Support ticket.


Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.