<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Send SNMP trap to other systems in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29706#M5127</link>
    <description>&lt;P&gt;We use the trap script extensively at my company for alerting purposes. With our setup we call a shell script from the saved search called sendtrap.sh - that calls a customized version of the perl script sendsnmptrap.pl. The script passes the parameters needed for the perl script.&lt;/P&gt;

&lt;P&gt;The shell script looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; #!/bin/sh
cd /opt/splunk/bin/scripts
$(./sendtrapv15.pl "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 18 Apr 2012 15:31:20 GMT</pubDate>
    <dc:creator>briang67</dc:creator>
    <dc:date>2012-04-18T15:31:20Z</dc:date>
    <item>
      <title>Send SNMP trap to other systems</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29705#M5126</link>
      <description>&lt;P&gt;I've read the documentation on how to send SNMP traps to other systems, however, I'm confused. How does traphosts.pl know to run sendsnmptrap.pl? I have the IP addresses for my trap receivers but not sure which parameters to change in sendsnmptrap.pl.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 14:03:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29705#M5126</guid>
      <dc:creator>mznikkip</dc:creator>
      <dc:date>2012-04-18T14:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Send SNMP trap to other systems</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29706#M5127</link>
      <description>&lt;P&gt;We use the trap script extensively at my company for alerting purposes. With our setup we call a shell script from the saved search called sendtrap.sh - that calls a customized version of the perl script sendsnmptrap.pl. The script passes the parameters needed for the perl script.&lt;/P&gt;

&lt;P&gt;The shell script looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; #!/bin/sh
cd /opt/splunk/bin/scripts
$(./sendtrapv15.pl "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Apr 2012 15:31:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29706#M5127</guid>
      <dc:creator>briang67</dc:creator>
      <dc:date>2012-04-18T15:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Send SNMP trap to other systems</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29707#M5128</link>
      <description>&lt;P&gt;In the sendsnmptrap.pl you'll want to change the $hostPortSNMP wiith the IP and port of your trap receiver.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 15:33:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29707#M5128</guid>
      <dc:creator>briang67</dc:creator>
      <dc:date>2012-04-18T15:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Send SNMP trap to other systems</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29708#M5129</link>
      <description>&lt;P&gt;Is there a way to send to two different trap receivers? Or would I have to create another sendsnmptrap.pl?&lt;BR /&gt;
Also, how do I test to make sure it's working?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 15:36:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29708#M5129</guid>
      <dc:creator>mznikkip</dc:creator>
      <dc:date>2012-04-18T15:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Send SNMP trap to other systems</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29709#M5130</link>
      <description>&lt;P&gt;You can set a second variable like #hostPortSNMP2 and just run the $cmd a second time substituting the new variable&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 15:52:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29709#M5130</guid>
      <dc:creator>briang67</dc:creator>
      <dc:date>2012-04-18T15:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Send SNMP trap to other systems</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29710#M5131</link>
      <description>&lt;P&gt;One way to test would be to just run a tcpdump or snoop on the receiving host to see if the trap was received.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 15:56:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29710#M5131</guid>
      <dc:creator>briang67</dc:creator>
      <dc:date>2012-04-18T15:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Send SNMP trap to other systems</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29711#M5132</link>
      <description>&lt;P&gt;Ok done and done. Sorry for all the questions! I installed Net-SNMP but snmptrap does not appear in /usr/bin. In the directory where I did install it, I still don't even see /bin directory or 'snmptrap'.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2012 14:24:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29711#M5132</guid>
      <dc:creator>mznikkip</dc:creator>
      <dc:date>2012-04-19T14:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Send SNMP trap to other systems</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29712#M5133</link>
      <description>&lt;P&gt;The snmptrap binary is in a separate rpm: net-snmp-utils.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2012 16:46:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29712#M5133</guid>
      <dc:creator>briang67</dc:creator>
      <dc:date>2012-04-19T16:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Send SNMP trap to other systems</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29713#M5134</link>
      <description>&lt;P&gt;Ahhh got it. I did a yum install for net-snmp-utils and now it seems to be working. Thanks for your help through this matter!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2012 18:22:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-SNMP-trap-to-other-systems/m-p/29713#M5134</guid>
      <dc:creator>mznikkip</dc:creator>
      <dc:date>2012-04-19T18:22:31Z</dc:date>
    </item>
  </channel>
</rss>

