trapforwarder

command module
v0.0.0-...-022a43d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

README

trapforwarder

Quick start

Add the following lines to /etc/snmp/snmptrapd.conf:

disableAuthorization yes
traphandle default /path/to/trapforwarder log

Start snmpd in a terminal:

$ snmptrapd -f -Le -Dsnmptrapd

Send a trap in another terminal:

$ snmptrap -v 1  -c public localhost 1.3.6.1.4.1.5471.2  $(hostname) 6 20 "" SNMPv2-MIB::sysLocation.0 s "Just here"

Check syslog to see the result:

$ journalctl -t trapforwarder

Recipients

Log

Send the raw trap to syslog

Sensu

Send the trap to the sensu client. Work in progress ...

Icinga

Not implmented yet.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL