Skip to main content

H3C SNMP Traps

Plugin: go.d.plugin Module: snmp_traps

Overview

Receive, decode, and store SNMP traps and INFORMs from H3C devices with Netdata. The bundled H3C trap profile decodes 1306 trap definitions across 192 MIBs into structured journal events with named, typed varbinds — searchable and filterable in the Logs tab.

Netdata's SNMP trap listener receives traps on UDP/162, matches them to the H3C enterprise OID space, and decodes the varbinds using the bundled H3C trap profile. No per-trap configuration.

This integration is supported on all platforms.

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

Default Behavior

Auto-Detection

Traps from H3C devices are decoded automatically once the device is pointed at the Agent's trap listener.

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_traps collector in two ways:

MethodBest forHow to
UIFast setup without editing filesGo to Nodes → Configure this node → Collectors → Jobs, search for snmp_traps, 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_traps collector from the Netdata web interface:

  1. Go to Nodes.
  2. Select the node where you want the snmp_traps 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_traps (or scroll the list) to locate the snmp_traps collector.
  5. Click the + next to the snmp_traps 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

Netdata decodes 1306 trap definitions from H3C across 192 MIBs into structured journal events. A trap is decoded only if the device actually sends it; inclusion here means the profile can decode it.

By severity: alert 47 · crit 69 · err 29 · warning 640 · notice 503 · info 18

By category: state_change 569 · config_change 55 · security 93 · auth 30 · license 11 · mobility 13 · diagnostic 534 · unknown 1

Coverage by MIB

192 MIBs decoded — show per-MIB trap counts
MIBTrap definitions
HH3C-LswTRAP-MIB50
HH3C-EPON-MIB48
HH3C-ENTITY-EXT-MIB43
HH3C-DOT11-APMT-MIB40
HH3C-IF-EXT-MIB32
HH3C-ARP-TRAP-MIB31
HH3C-STORAGE-MIB28
HH3C-PTP-MIB27
HH3C-RIB-MIB26
HH3C-SECDIAG-MIB26
HH3C-EOC-COMMON-MIB24
HH3C-FLEXE-MIB24
HH3C-VM-MAN-MIB23
HH3C-DHCP6-MIB20
HH3C-PKI-MONITOR-MIB20
HH3C-DOMAIN-MIB19
HH3C-POWER-ETH-EXT-MIB19
HH3C-VNF-DEVICE-MIB19
HH3C-FIB-MIB18
HH3C-IKE-MONITOR-MIB18
HH3C-MLAG-MIB17
HH3C-PPP-OVER-SONET-MIB17
HH3C-LBV2-MIB16
HH3C-ND-TRAP-MIB16
HH3C-POS-MIB15
HH3C-RPR-MIB14
HH3C-IDS-MIB13
HH3C-IPSEC-MONITOR-V2-MIB13
HH3C-NQA-MIB13
HH3C-DHCP4-MIB11
HH3C-DOT11-STATION-MIB11
HH3C-IPSEC-MONITOR-MIB11
HH3C-POSA-MIB11
HH3C-3GMODEM-MIB10
HH3C-ACFP-MIB10
HH3C-MICROSEGMENT-MIB10
HH3C-MPLS-LDP-MIB10
HH3C-SRV6POLICY-MIB10
HH3C-TRAP-MIB10
HH3C-DOT11-ACMT-MIB9
HH3C-DOT11-WIDS-MIB9
HH3C-LICENSE-MIB9
HH3C-MAC-TRAP-MIB9
HH3C-PU-MAN-MIB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H3C-TE-TUNNEL-MIB2
HH3C-TELNET-MIB2
HH3C-TRAFFIC-STAT-MIB2
HH3C-8021PAE-MIB1
HH3C-AAL5-MIB1
HH3C-ARP-RATELIMIT-MIB1
HH3C-BIER-MIB1
HH3C-CPDR-MIB1
HH3C-DLDP-MIB1
HH3C-DOT11S-MESH-MIB1
HH3C-E1T1VI-MIB1
HH3C-ETH-TRAP-MIB1
HH3C-FC-PING-MIB1
HH3C-FC-TRACE-ROUTE-MIB1
HH3C-FLASH-MAN-MIB1
HH3C-IP-ADDRESS-MIB1
HH3C-ISIS-MIB1
HH3C-ISSU-MIB1
HH3C-LB-MIB1
HH3C-LOCAL-AAA-SERVER-MIB1
HH3C-LswMix-MIB1
HH3C-MPLSBFD-MIB1
HH3C-NET-MAN-MIB1
HH3C-OSPFV3-MIB1
HH3C-PBR-MIB1
HH3C-QOS-PROFILE-MIB1
HH3C-SMLK-MIB1
HH3C-VBR-MIB1

Sample decoded traps

  • HH3C-FTM-MIB::hh3cFtmUnitIDChange
  • HH3C-FTM-MIB::hh3cFtmUnitNameChange
  • HH3C-UI-MAN-MIB::hh3cLogIn
  • HH3C-UI-MAN-MIB::hh3cLogOut
  • HH3C-UI-MAN-MIB::hh3cLogInAuthenFailure

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