<?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: Getting SNMP Data into Splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69943#M14211</link>
    <description>&lt;P&gt;snmptrapd will allow snmp traps to be sent to splunk, but polling snmp tables will require a poller. Net-Snmp scripts will work, however I have found integrating Splunk with NerveCenter to be a better more flexible and efficient way to accomplish this. With NerveCenter I can poll the data and format/massage the data easily before sending to splunk. An example to to poll if tables and use NerveCenter to calculate the deltas from the counters and then calculate the % of bandwidth usage to be logged to Splunk. I can also use NerveCenter to apply logic to polled data for alerting. See &lt;A href="http://www.logmatrix.com"&gt;www.logmatrix.com&lt;/A&gt; for more details on NerveCenter.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2012 18:18:48 GMT</pubDate>
    <dc:creator>mschmttco</dc:creator>
    <dc:date>2012-02-10T18:18:48Z</dc:date>
    <item>
      <title>Getting SNMP Data into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69940#M14208</link>
      <description>&lt;P&gt;Hey everyone, I am trying to figure out the most efficient way to get polled SNMP data into splunk. Strangely while there appears to be a JMX extension for Splunk, there is nothing for SNMP which is far more prevalent. I was considering writing a script to poll numerous servers using net-snmp, and then write to a flat text file, letting splunk sort out the results but that causes some issues with handling table data. Anyone who has tackled this, I would love to hear how you resolved it.&lt;/P&gt;

&lt;P&gt;Edit:&lt;BR /&gt;
Just to provide some information - the SNMP queries we are executing are looking, in some cases, at several hundred different OID's. There is no realistic way to manually script out every single thing I'd like to query. By far the preference would be some sort of app I could drop the MIB into place and go from there.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 17:58:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69940#M14208</guid>
      <dc:creator>msarro</dc:creator>
      <dc:date>2012-02-10T17:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Getting SNMP Data into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69941#M14209</link>
      <description>&lt;P&gt;The basics are covered in the documentation topic &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/SendSNMPeventstoSplunk"&gt;Send SNMP events to Splunk&lt;/A&gt;. It describes how to use &lt;CODE&gt;snmptrapd&lt;/CODE&gt; to write the data to a file on your Splunk server. What issues are you seeing with the table data?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 18:05:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69941#M14209</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2012-02-10T18:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Getting SNMP Data into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69942#M14210</link>
      <description>&lt;P&gt;Sadly I'm less worried about traps, and more about polling which that guide doesn't cover (per the statement near the top). Any other ideas would be really appreciated. It seems strange that something far less implemented like JMX has an app, but not SNMP.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 18:11:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69942#M14210</guid>
      <dc:creator>msarro</dc:creator>
      <dc:date>2012-02-10T18:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting SNMP Data into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69943#M14211</link>
      <description>&lt;P&gt;snmptrapd will allow snmp traps to be sent to splunk, but polling snmp tables will require a poller. Net-Snmp scripts will work, however I have found integrating Splunk with NerveCenter to be a better more flexible and efficient way to accomplish this. With NerveCenter I can poll the data and format/massage the data easily before sending to splunk. An example to to poll if tables and use NerveCenter to calculate the deltas from the counters and then calculate the % of bandwidth usage to be logged to Splunk. I can also use NerveCenter to apply logic to polled data for alerting. See &lt;A href="http://www.logmatrix.com"&gt;www.logmatrix.com&lt;/A&gt; for more details on NerveCenter.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 18:18:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69943#M14211</guid>
      <dc:creator>mschmttco</dc:creator>
      <dc:date>2012-02-10T18:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting SNMP Data into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69944#M14212</link>
      <description>&lt;P&gt;I've actually attempted to do this with our Weblogic instances using a PERL script.&lt;/P&gt;

&lt;P&gt;I abandoned it for Splunk4JMX but I still have the PERL script that could modified to do what you need it to do.&lt;/P&gt;

&lt;P&gt;SNMP isn't so simple in my mind &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 18:33:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69944#M14212</guid>
      <dc:creator>Brian_Osburn</dc:creator>
      <dc:date>2012-02-10T18:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting SNMP Data into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69945#M14213</link>
      <description>&lt;P&gt;There are a couple of other Splunk Answers postings that point to scripted inputs as a solution, too:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/38219/snmpget-with-splunk"&gt;http://splunk-base.splunk.com/answers/38219/snmpget-with-splunk&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/38219/snmpget-with-splunk"&gt;http://splunk-base.splunk.com/answers/38219/snmpget-with-splunk&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 18:36:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69945#M14213</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2012-02-10T18:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting SNMP Data into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69946#M14214</link>
      <description>&lt;P&gt;Are you trying to poll metrics from a JVM/JVM app , or are you just talking about SNMP MIB polling in general ? I ask because you make mention of Splunk4JMX in your opening post.&lt;/P&gt;

&lt;P&gt;I was going to write a blurb on JMX vs SNMP for JVM/JVM app monitoring , but &lt;A href="https://blogs.oracle.com/jmxetc/entry/jmx_vs_snmp"&gt;THIS BLOG&lt;/A&gt; covers the bases pretty well.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2012 23:51:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69946#M14214</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2012-02-11T23:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting SNMP Data into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69947#M14215</link>
      <description>&lt;P&gt;If you are trying to poll a SNMP agent I have had great success with pysnmp.  Check out these examples from pysnmp module. Module comes with a snmpwalker, snmpget, and other utilities. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://pysnmp.sourceforge.net/examples/4.x/v3arch/manager/bulkgen.html"&gt;http://pysnmp.sourceforge.net/examples/4.x/v3arch/manager/bulkgen.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://pysnmp.sourceforge.net/examples/4.x/v3arch/manager/getgen.html"&gt;http://pysnmp.sourceforge.net/examples/4.x/v3arch/manager/getgen.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also consider making your script threaded allowing you to poll multiple agents. Though when trying to store responses from the cbFun function and cbCtx var be aware that these are callback objects.&lt;/P&gt;

&lt;P&gt;In the end I end up with the following output:&lt;/P&gt;

&lt;P&gt;date    time    object  name\instance   value&lt;BR /&gt;
2012-07-13  00:02   cfwBufferStatValue  maximum number of allocated 0 byte blocks   1450&lt;BR /&gt;
2012-07-13  00:02   cfwBufferStatValue  fewest 0 byte blocks available  1433&lt;BR /&gt;
2012-07-13  00:02   ciscoMemoryPoolUsed System memory   821745384&lt;BR /&gt;
2012-07-13  00:02   ciscoMemoryPoolUsed MEMPOOL_DMA 54508856&lt;BR /&gt;
2012-07-13  00:02   ifHCInOctets    internal    1551153584&lt;BR /&gt;
2012-07-13  00:02   ifHCInUcastPkts external    13477162449&lt;BR /&gt;
2012-07-13  02:17   cpmCPUTotal1min 1   3&lt;BR /&gt;
2012-07-13  02:17   cpmCPUTotal1min 1   3&lt;/P&gt;

&lt;P&gt;You will have to convert your mib files to a pysnmp acceptable format to obtain the oid’s name or instance, then importing them using builder in the pysmp module.&lt;/P&gt;

&lt;P&gt;Update:  Here is a post from me what includes sample code of a proto type I wrote.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/13895/snmpget-snmptrap-splunk-and-snmp-polling?"&gt;snmpget-snmptrap-splunk-and-snmp-polling&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2012 16:20:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69947#M14215</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2012-07-27T16:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting SNMP Data into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69948#M14216</link>
      <description>&lt;P&gt;Hi Chris, after I configured snmptrapd, I just get a file with version information, but no data flows seen so far. Which host shall I configure snmptrapd service on? Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2012 15:00:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69948#M14216</guid>
      <dc:creator>cqian02</dc:creator>
      <dc:date>2012-08-22T15:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting SNMP Data into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69949#M14217</link>
      <description>&lt;P&gt;Reviewing the basics, just to narrow down the problem. The steps are:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Configure the remote devices to send their traps directly to the Splunk server's IP address.The default port for SNMP traps is udp:162.&lt;/LI&gt;
&lt;LI&gt;Write the SNMP traps to a file on the Splunk server using snmptrapd.&lt;/LI&gt;
&lt;LI&gt;Configure Splunk to monitor the file,&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Are you using monitor and still not seeing any data?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2012 18:06:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69949#M14217</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2012-08-23T18:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting SNMP Data into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69950#M14218</link>
      <description>&lt;P&gt;I have set Splunk to monitor the snmptrapd.log file, I can see changes in Splunk everytime I restart the Trap Handler Service. So my problem is I can't see any data traffic into my log file, I wonder if I configure snmptrapd.conf wrong.&lt;/P&gt;

&lt;P&gt;snmpTrapdAddr [System IP]:162  -- I added the IP where Splunk is installed on&lt;BR /&gt;
authCommunity log [community string] -- I changed the string to public&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2012 18:22:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69950#M14218</guid>
      <dc:creator>cqian02</dc:creator>
      <dc:date>2012-09-04T18:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting SNMP Data into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69951#M14219</link>
      <description>&lt;P&gt;Check out this new add-on : &lt;A href="http://splunk-base.splunk.com/apps/88686/snmp-modular-input"&gt;http://splunk-base.splunk.com/apps/88686/snmp-modular-input&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2013 21:20:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69951#M14219</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2013-05-28T21:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Getting SNMP Data into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69952#M14220</link>
      <description>&lt;P&gt;There are now several solutions for this including:&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/1537/"&gt;https://splunkbase.splunk.com/app/1537/&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/Data/SendSNMPeventstoSplunk"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.2/Data/SendSNMPeventstoSplunk&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/229041/how-to-send-snmp-traps-from-my-linux-machine-to-a.html"&gt;http://answers.splunk.com/answers/229041/how-to-send-snmp-traps-from-my-linux-machine-to-a.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 May 2015 14:43:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69952#M14220</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-02T14:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Getting SNMP Data into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69953#M14221</link>
      <description>&lt;P&gt;Here's another solution you can try:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/521362/found-a-simple-snmp-trap-receiver-for-windows-that.html#answer-522171"&gt;https://answers.splunk.com/answers/521362/found-a-simple-snmp-trap-receiver-for-windows-that.html#answer-522171&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 01:29:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-SNMP-Data-into-Splunk/m-p/69953#M14221</guid>
      <dc:creator>cpt12tech</dc:creator>
      <dc:date>2017-04-20T01:29:36Z</dc:date>
    </item>
  </channel>
</rss>

