Getting Data In

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

mayurr98
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

aaraneta_splunk
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

woodcock
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

lguinn2
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

mayurr98
SplunkTrust
SplunkTrust

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

0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!