Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.27 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.27 KB

snmp-trap-handler

Write SNMP traps to a Pravega stream.

Listens on all addresses on UDP port 162 for SNMP v1, v2c and v3 traps, and writes all received SNMP messages to a Pravega stream in JSON format.

Writes are ordered by the IP address of each SNMP agent sending in traps.

User-based Security Model (USM) not yet supported.

Configuration

Defaults can be overriden by creating a file config/application.properties in the current working directory of a deployed instance.

Property Description Default
snmp.listen-address Protocol (udp or tcp), address and port to listen on for SNMP traps udp:0.0.0.0/162
snmp.thread-count Number of threads in worker pool for SNMP processing 10
pravega.controller-uri URI of Pravega Controller tcp://localhost:9090
pravega.create-scope Whether or not to create the configured scope true
pravega.scope-name Name of the scope to use alerts
pravega.create-stream Whether or not to create the configured stream true
pravega.stream-name Name of the stream to write traps to snmp