Documentation:
3.2.2
The most effective way to index SNMP events is to use snmptrapd to write them to a FIFO.
First, configure snmptrapd to write to a FIFO rather than to a file on disk.
# mkfifo /var/run/snmp-fifo # snmptrapd -o /var/run/snmp-fifo
Then, configure the Splunk Server to add the FIFO as a data input.
Comments
Update, I just ran this and -o FILE is deprecated. New command for stage two is:
# snmptrapd -Lf /var/run/snmp-fifo
Posted by zestuart on May 22 2008, 8:26am
Unless Splunk had a built-in way of catching SNMP, then yes, it seems like this is the best way. How else would you suggest catching SNMP events?
Posted by emma on Apr 04 2008, 4:44pm
Just curious - is this necessary (going through snmptrapd) only because snmp is sent as binary across the network?
Posted by goldburtd on Mar 23 2008, 12:24pm