Skip to main content

Hewlett Packard SNMP Traps

Plugin: go.d.plugin Module: snmp_traps

Overview

Receive, decode, and store SNMP traps and INFORMs from Hewlett Packard devices with Netdata. The bundled Hewlett Packard trap profile decodes 3024 trap definitions across 180 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 Hewlett Packard enterprise OID space, and decodes the varbinds using the bundled Hewlett Packard 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 Hewlett Packard 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 3024 trap definitions from Hewlett Packard across 180 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: emerg 40 · alert 163 · crit 694 · err 329 · warning 1111 · notice 645 · info 39 · debug 3

By category: state_change 609 · config_change 85 · security 116 · auth 35 · license 6 · mobility 9 · diagnostic 2120 · unknown 44

Coverage by MIB

180 MIBs decoded — show per-MIB trap counts
MIBTrap definitions
HPIPFTRAP-MIB1179
HPOTHERTRAP-MIB257
HP-SWITCH-TRAP-MIB156
HPE-TRAPS-MIB117
HPNSATRAP-MIB109
HP-OPENCALL-SS7SNMPAGENT-BASE-MIB70
TapeAlert-MIB66
ICF-ETWIST48
HPIPF02TRAP-MIB47
HPN-ICF-DOT11-APMT-MIB37
HPN-ICF-EPON-MIB37
HPN-ICF-ENTITY-EXT-MIB36
BLADETYPE2-TRAP-MIB35
HP-SN-TRAP-MIB30
HPOVSam_IM30
OCMP311TRAP-MIB25
HPN-ICF-EOC-COMMON-MIB24
HPN-ICF-LswTRAP-MIB24
BLADETYPE4-NETWORK-MIB23
BLADETYPE5-NETWORK-MIB23
BLADETYPE6-NETWORK-MIB23
HP-MCSG23
HPN-ICF-IKE-MONITOR-MIB18
HPN-ICF-POWER-ETH-EXT-MIB18
HPN-ICF-PPP-OVER-SONET-MIB17
HP-SN-ROUTER-TRAP-MIB16
HPN-ICF-RPR-MIB14
HPN-ICF-IDS-MIB13
HPN-ICF-LBV2-MIB12
HPN-ICF-IPSEC-MONITOR-MIB11
HPN-ICF-IPSEC-MONITOR-V2-MIB11
HPVC-MIB11
HPN-ICF-3GMODEM-MIB10
HPN-ICF-ACFP-MIB10
HPN-ICF-MPLS-LDP-MIB10
HPN-ICF-TRAP-MIB10
HP-EMS9
HP-ICF9
HPN-ICF-DOT11-STATION-MIB9
HPN-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ICF-BRIDGE1
HP-ICF-CHASSIS1
HP-ICF-CONNECTION-RATE-FILTER1
HP-ICF-DHCP-SNOOP-MIB1
HP-ICF-FAULT-FINDER-MIB1
HP-ICF-INST-MON1
HP-ICF-MVRP-MIB1
HP-ICF-RATE-LIMIT-MIB1
HP-ICF-SMART-LINK-MIB1
HP-ICF-SNMP-MIB1
HP-ICF-SYSLOG-MIB1
HP-ICF-VIRTUAL-NETWORK-MIB1
HP-TUNNEL-MIB1
HPN-ICF-8021PAE-MIB1
HPN-ICF-AAL5-MIB1
HPN-ICF-ACL-MIB1
HPN-ICF-ARP-RATELIMIT-MIB1
HPN-ICF-DLDP-MIB1
HPN-ICF-E1T1VI-MIB1
HPN-ICF-FC-PING-MIB1
HPN-ICF-FC-TRACE-ROUTE-MIB1
HPN-ICF-FLASH-MAN-MIB1
HPN-ICF-IP-ADDRESS-MIB1
HPN-ICF-ISSU-MIB1
HPN-ICF-LB-MIB1
HPN-ICF-LOCAL-AAA-SERVER-MIB1
HPN-ICF-LswMix-MIB1
HPN-ICF-NET-MAN-MIB1
HPN-ICF-PBR-MIB1
HPN-ICF-QOS-PROFILE-MIB1
HPN-ICF-SMLK-MIB1
HPOV-NNM-MIB1

Sample decoded traps

  • HP-SN-TRAP-MIB::snTrapChasPwrSupply
  • HP-SN-TRAP-MIB::snTrapLockedAddressViolation
  • HP-SN-ROUTER-TRAP-MIB::snTrapOspfIfStateChange
  • HP-SN-ROUTER-TRAP-MIB::snTrapOspfVirtIfStateChange
  • HP-SN-ROUTER-TRAP-MIB::snOspfNbrStateChange

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