Documentation:
3.3.1
The most effective way to index SNMP events is to use snmptrapd to write them to a file.
First, configure snmptrapd to write to a file on disk.
# touch /var/run/snmp-traps # snmptrapd -Lf /var/run/snmp-traps
Then, configure the Splunk server to add the file as a data input.
Comments
These instructions have been revised, the use of a FIFO is discouraged on all platforms. Windows users should be able to successfully index snmp traps if their snmptrapd writes to a file.
Posted by m@ on Sep 16 2008, 10:33am
Note that Splunk running on Windows does not support FIFO queues at this time. Future releases on Windows will support receiving and indexing SNMP traps.
Contact support and file an enhancement request if you want to be alerted when this is available.
Posted by jcervelli on Jul 09 2008, 4:47pm