Documentation: 3.3.1
Print Version Contents
This page last updated: 10/15/08 02:10pm

Index SNMP events with Splunk

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.

Previous: Log file rotation    |    Next: log4j

Comments

  1. 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.

  2. 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.

Log in to comment.