<?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: Create charts from SNMP Counter data type in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11176#M699</link>
    <description>&lt;P&gt;Can you share how you are doing the snmp polling and putting the events into Splunk?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Apr 2010 19:09:14 GMT</pubDate>
    <dc:creator>Dan</dc:creator>
    <dc:date>2010-04-09T19:09:14Z</dc:date>
    <item>
      <title>Create charts from SNMP Counter data type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11174#M697</link>
      <description>&lt;P&gt;I am collecting snmpget data from a SAN switch. A few of the SNMP elements use counters where I get the accumalated value on each SNMPget. We want to graph the value of the difference between the last value and the current value of that counter over time. I think a new field would need to be created to show this difference before graphing.&lt;/P&gt;

&lt;P&gt;This would be similar to say graphing port throughput in Cacti/MRTG/RRDtool.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2010 03:43:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11174#M697</guid>
      <dc:creator>rasingh</dc:creator>
      <dc:date>2010-04-09T03:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create charts from SNMP Counter data type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11175#M698</link>
      <description>&lt;P&gt;You can use the &lt;CODE&gt;| delta&lt;/CODE&gt; search command: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/Delta" rel="nofollow"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/Delta&lt;/A&gt;
or in more complex cases the &lt;CODE&gt;| streamstats&lt;/CODE&gt; command: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/Streamstats" rel="nofollow"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/Streamstats&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2010 04:36:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11175#M698</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-04-09T04:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create charts from SNMP Counter data type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11176#M699</link>
      <description>&lt;P&gt;Can you share how you are doing the snmp polling and putting the events into Splunk?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2010 19:09:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11176#M699</guid>
      <dc:creator>Dan</dc:creator>
      <dc:date>2010-04-09T19:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create charts from SNMP Counter data type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11177#M700</link>
      <description>&lt;P&gt;First, I installed net-snmp and the switch MIBs (Brocade in this case). I use the 'snmptable' command to query all the ports at once and output into csv format - there are several command line options for that. &lt;/P&gt;

&lt;P&gt;Once the command polling is tested, I created a batch file in $SPLUNK_HOME/bin as a wrapper to the snmptable command in the install location. &lt;/P&gt;

&lt;P&gt;Lastly, I added the batch file with parameters as a scripted input.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2010 02:54:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11177#M700</guid>
      <dc:creator>rasingh</dc:creator>
      <dc:date>2010-04-13T02:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create charts from SNMP Counter data type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11178#M701</link>
      <description>&lt;P&gt;I am also looking to do the same thing, could you please share the search that you used to generate the requisite powerful graph? &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2010 15:32:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11178#M701</guid>
      <dc:creator>lukeh</dc:creator>
      <dc:date>2010-09-02T15:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create charts from SNMP Counter data type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11179#M702</link>
      <description>&lt;P&gt;I have tried generating the graphs but they do not seem accurate. What concerns me right now is that the counters do not operate as I think they do. When I do delta on TXwords say, I get negative numbers. That whould only happen if counter value resets.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2010 07:09:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11179#M702</guid>
      <dc:creator>rasingh</dc:creator>
      <dc:date>2010-09-08T07:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create charts from SNMP Counter data type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11180#M703</link>
      <description>&lt;P&gt;We managed to get it working &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;We are using this splunk search with Network Traffic statistics sourced from Nagios Plugin Performance Data :-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=nagios plugin="Network Traffic" hostname="server01"
| sort _time
| delta inAbsolut as inabs_change
| delta outAbsolut as outabs_change
| where inabs_change&amp;gt;=0
| where outabs_change&amp;gt;=0
| eval inkilobits=(inabs_change*8/1000)
| eval outkilobits=(outabs_change*8/1000)
| timechart span=5m per_second(inkilobits) as in_kbps, per_second(outkilobits) as out_kbps
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Remember to select Null values: 'Connect' when displaying the above Powerful Graph after clicking "Show report" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Note: you need to include the 'where' statements to exclude negative delta values (caused by counter resets)&lt;/P&gt;

&lt;P&gt;I will be including the above Powerful Graph when I release Splunk for Nagios v. 1.1 in Oct '10, as well as powerful graphs of other metal level metrics (cpu, memory, swap, load, disk usage, processes, etc) sourced from Nagios Plugin Performance Data &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2010 11:33:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11180#M703</guid>
      <dc:creator>lukeh</dc:creator>
      <dc:date>2010-09-16T11:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create charts from SNMP Counter data type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11181#M704</link>
      <description>&lt;P&gt;I just tested and noticed a couple of things: &lt;BR /&gt;
1. The 'where' statements should replace '&amp;gt;0' with '&amp;gt;=0' to remove negative delta values. &lt;BR /&gt;
2. In comparing our Cacti/RRDtool graphs with splunk graphs, we selected "Connect" instead of "Treat as zero" on the graph to make them the same.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2010 05:46:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-charts-from-SNMP-Counter-data-type/m-p/11181#M704</guid>
      <dc:creator>rasingh</dc:creator>
      <dc:date>2010-09-17T05:46:32Z</dc:date>
    </item>
  </channel>
</rss>

