Skip to content

pravega/snmp-trap-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Write SNMP traps to a Pravega stream

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages