<?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 SNMP Modular Input trap issue in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/SNMP-Modular-Input-trap-issue/m-p/124279#M25620</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to setup Splunk as a trap listener via the Modular Input for some testing.&lt;/P&gt;

&lt;P&gt;My inputs.conf looks like this:&lt;/P&gt;

&lt;P&gt;[snmp://saa_traps]&lt;/P&gt;

&lt;P&gt;communitystring = public&lt;/P&gt;

&lt;P&gt;do_bulk_get = 0&lt;/P&gt;

&lt;P&gt;ipv6 = 0&lt;/P&gt;

&lt;P&gt;snmp_mode = traps&lt;/P&gt;

&lt;P&gt;snmp_version = 1&lt;/P&gt;

&lt;P&gt;sourcetype = saa_traps&lt;/P&gt;

&lt;P&gt;split_bulk_output = 0&lt;/P&gt;

&lt;P&gt;trap_host = localhost&lt;/P&gt;

&lt;P&gt;trap_port = 162&lt;/P&gt;

&lt;P&gt;v3_authProtocol = usmHMACMD5AuthProtocol&lt;/P&gt;

&lt;P&gt;v3_privProtocol = usmDESPrivProtocol&lt;/P&gt;

&lt;P&gt;I can see the packet coming in through Wireshark but it doesn't get indexed. The splunkd.log doesn't indicate any issues.&lt;/P&gt;

&lt;P&gt;Not sure if related but once I get the SNMP packet from my monitored system my Splunk server sends back an ICMP reply: Destination Unreachable/Port Unreachable&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;

&lt;P&gt;Lots of thanks&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:20:33 GMT</pubDate>
    <dc:creator>clymbouris</dc:creator>
    <dc:date>2020-09-28T16:20:33Z</dc:date>
    <item>
      <title>SNMP Modular Input trap issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SNMP-Modular-Input-trap-issue/m-p/124279#M25620</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to setup Splunk as a trap listener via the Modular Input for some testing.&lt;/P&gt;

&lt;P&gt;My inputs.conf looks like this:&lt;/P&gt;

&lt;P&gt;[snmp://saa_traps]&lt;/P&gt;

&lt;P&gt;communitystring = public&lt;/P&gt;

&lt;P&gt;do_bulk_get = 0&lt;/P&gt;

&lt;P&gt;ipv6 = 0&lt;/P&gt;

&lt;P&gt;snmp_mode = traps&lt;/P&gt;

&lt;P&gt;snmp_version = 1&lt;/P&gt;

&lt;P&gt;sourcetype = saa_traps&lt;/P&gt;

&lt;P&gt;split_bulk_output = 0&lt;/P&gt;

&lt;P&gt;trap_host = localhost&lt;/P&gt;

&lt;P&gt;trap_port = 162&lt;/P&gt;

&lt;P&gt;v3_authProtocol = usmHMACMD5AuthProtocol&lt;/P&gt;

&lt;P&gt;v3_privProtocol = usmDESPrivProtocol&lt;/P&gt;

&lt;P&gt;I can see the packet coming in through Wireshark but it doesn't get indexed. The splunkd.log doesn't indicate any issues.&lt;/P&gt;

&lt;P&gt;Not sure if related but once I get the SNMP packet from my monitored system my Splunk server sends back an ICMP reply: Destination Unreachable/Port Unreachable&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;

&lt;P&gt;Lots of thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:20:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SNMP-Modular-Input-trap-issue/m-p/124279#M25620</guid>
      <dc:creator>clymbouris</dc:creator>
      <dc:date>2020-09-28T16:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Modular Input trap issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SNMP-Modular-Input-trap-issue/m-p/124280#M25621</link>
      <description>&lt;P&gt;Just taking a stab at it. But you specified the snmp_host as local host. That probably is binding it to the localhost interface instead of the IP address your trap generating hosts are sending to. If your network address for the Splunk server is say 192.168.1.10, try changing it to snmp_host=192.168.1.10 instead. Not sure if you need to restart Splunk but probably.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:51:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SNMP-Modular-Input-trap-issue/m-p/124280#M25621</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2020-09-28T16:51:51Z</dc:date>
    </item>
  </channel>
</rss>

