Getting Data In

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

mayurr98
Super Champion

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
Super Champion

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

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...