Getting Data In

Using Splunk 6.4.2, how to send SNMP traps from Splunk to other systems?

SplunkTrust
SplunkTrust

Hi

I am using Splunk Enterprise 6.4.2. However http://docs.splunk.com/Documentation/Splunk/6.2.1/alert/SendingSNMPtrapstoothersystems does not support latest versions of Splunk.
Is there any alternative solution to this?

Thanks in advance

0 Karma

Splunk Employee
Splunk Employee

@mayurr98 - Did one of the answers below help provide a solution your question? If yes, please click “Accept” below the best answer to resolve this post and upvote anything that was helpful. If no, please leave a comment with more feedback. Thanks.

0 Karma

Esteemed Legend

Here is the best answer I have seen about SNMP; it is older and some new options surely exist but it is a great starting point:

https://answers.splunk.com/answers/229041/how-to-send-snmp-traps-from-my-linux-machine-to-a.html

0 Karma

Legend

Ultimately, the way to do this is to run a search that triggers a script (as an alert action). All the documentation supplied was tips about how to do this.
Here are a couple of scripts that people have posted: Generate SNMP trap from Splunk
But you could just google "python send snmp trap" (or your language of choice) for example scripts.

Also, you can take a look at the documentation on triggering a script as an alert: Run a script alert action.

0 Karma

SplunkTrust
SplunkTrust

Hey thanks for the answer.But these scripts supports latest versions of splunk ?

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!