Getting Started Cameras & Video Detection & Recording Automation & Events Actions Integration & Connectivity Network & Discovery AI & Remote Control MQTT Modbus Pi4J & Raspberry Pi GPIO ZeroMQ System & Administration Comparisons Use Cases Troubleshooting About & Legal
Home / Documentation / SNMP Trap Listener
SNMP module

SNMP Trap Listener

SNMP Trap Listener receives SNMP v2c and authenticated SNMPv3 traps or informs on a local UDP port and converts accepted notifications into Banalytics events.

Bind one listener and control its sources

Configure a local bind address and UDP port, permit the required protocol versions, then configure network devices to send traps or informs to the Banalytics host. The default privileged port 162 can require operating-system capabilities or elevated service permissions; use a permitted alternative port when required by the deployment.

01

Limit network exposure

Bind to the intended interface and restrict inbound UDP traffic at the host or network firewall.

02

Choose accepted senders

Use the source allowlist and, when appropriate, ignore notifications that cannot be mapped to a configured SNMP Device.

03

Verify informs

Informs are acknowledged after processing. Test the sender’s retry and acknowledgement behaviour before relying on them for alarms.

Configuration parameters

ParameterRequiredDescriptionDefault
Title
YesDisplay name for the listener.None
Bind address
YesLocal address used by the UDP listener.0.0.0.0
Port
YesLocal UDP port.162
Accept v2c
YesAccept SNMP v2c notifications.Enabled
Accept v3
YesEnable SNMPv3 USM processing.Disabled
Allowed sources
OptionalComma- or newline-separated source IP addresses or prefixes. Empty accepts all sources subject to the unknown-sender rule.Empty
Ignore unknown senders
YesDrops notifications whose source IP does not match a configured SNMP Device.Disabled
Deduplication window
YesSuppresses repeated notifications with the same source, trap OID and bindings. Zero disables deduplication.2000 ms
V3 username
V3SNMPv3 security name accepted by this listener.None
V3 security level
V3NO_AUTH_NO_PRIV, AUTH_NO_PRIV or AUTH_PRIV.AUTH_PRIV
V3 authentication
ConditionalAuthentication protocol and password. The password supports ${secret:alias}.SHA1
V3 privacy
ConditionalPrivacy protocol and password. The password supports a Secret Manager reference.AES128

Receive a bounded notification record

Each accepted notification emits SnmpTrapReceivedEvent with the trap OID, source address, protocol version, uptime, inform flag, variable bindings and the mapped SNMP Device UUID when one is found. Community, authentication and privacy credentials are never included.

TRAP

Trap

A one-way notification. Delivery is not acknowledged by the listener.

INFORM

Inform

An acknowledged notification. The listener returns a response after processing.

MAP

Device mapping

Source IP can be associated with a configured SNMP Device for downstream rules.

Reduce noise and protect the boundary

Source prefixes are textual prefixes: use precise entries and enforce authoritative network restrictions with the firewall. Do not treat this field as a CIDR firewall implementation.

Keep the deduplication window long enough to absorb sender retries but short enough to preserve legitimate repeated state changes. Route high-volume traps through narrow Event Manager rules and retention policies so one noisy device cannot overwhelm event history or notifications.