<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Linux SNMP OID&#8217;s for CPU,Memory and Disk Statistics</title>
	<atom:link href="http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html</link>
	<description>Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips</description>
	<lastBuildDate>Thu, 19 Nov 2009 13:24:32 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Prasanna K S</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-3977</link>
		<dc:creator>Prasanna K S</dc:creator>
		<pubDate>Sat, 07 Nov 2009 01:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-3977</guid>
		<description>Thank you. It helped a lot to get my redhat system managed. 
Please correct the memory mistake (interchanged text of one OID)</description>
		<content:encoded><![CDATA[<p>Thank you. It helped a lot to get my redhat system managed.<br />
Please correct the memory mistake (interchanged text of one OID)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srinu</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-3616</link>
		<dc:creator>srinu</dc:creator>
		<pubDate>Tue, 01 Sep 2009 06:21:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-3616</guid>
		<description>hi,


unable to get the disk details.Please let me know how get the details like totaldisk,useddisk and availdisk

Thanks in advance</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>unable to get the disk details.Please let me know how get the details like totaldisk,useddisk and availdisk</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michal Zyzak</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-3557</link>
		<dc:creator>Michal Zyzak</dc:creator>
		<pubDate>Wed, 19 Aug 2009 13:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-3557</guid>
		<description>Very good article!

But I have a question about monitoring multicore CPUs.
Is it possible to get load of each core via SNMP ?
If so - wchich OID do I have to watch?

Regards</description>
		<content:encoded><![CDATA[<p>Very good article!</p>
<p>But I have a question about monitoring multicore CPUs.<br />
Is it possible to get load of each core via SNMP ?<br />
If so &#8211; wchich OID do I have to watch?</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Schwager</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-3377</link>
		<dc:creator>Michael Schwager</dc:creator>
		<pubDate>Thu, 16 Jul 2009 16:41:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-3377</guid>
		<description>Nice article, thanks.  But that error in Total RAM used: .1.3.6.1.4.1.2021.4.6.0 screwed me up.  Can you fix that in your article?

Also, something that may be helpful:  According to (http://mail.nl.linux.org/linux-mm/2003-03/msg00077.html) if we did this we could get a reasonable reading of our memory:
&lt;code&gt;
(Used – buffers – cached) / Total * 100 = % memory used
&lt;/code&gt;

So you could get the following (expressed as Perl code):
&lt;code&gt;
my $memRealTotalOID = &#039;.1.3.6.1.4.1.2021.4.5.0&#039;;
my $memRealAvailOID = &#039;.1.3.6.1.4.1.2021.4.6.0&#039;;
my $memRealBuffersOID = &#039;.1.3.6.1.4.1.2021.4.14.0&#039;;
my $memRealCachedOID = &#039;.1.3.6.1.4.1.2021.4.15.0&#039;;
# Memory Calculations
my $memRealUsed = $memRealTotal - $memRealAvail;
&lt;/code&gt;
Then you can alert on % RAM used:
&lt;code&gt;
my $realPercent = (($memRealUsed - $memRealBuffers - $memRealCached )/ $memRealTotal) * 100;
&lt;/code&gt;
Hope this helps.</description>
		<content:encoded><![CDATA[<p>Nice article, thanks.  But that error in Total RAM used: .1.3.6.1.4.1.2021.4.6.0 screwed me up.  Can you fix that in your article?</p>
<p>Also, something that may be helpful:  According to (<a href="http://mail.nl.linux.org/linux-mm/2003-03/msg00077.html" rel="nofollow">http://mail.nl.linux.org/linux-mm/2003-03/msg00077.html</a>) if we did this we could get a reasonable reading of our memory:<br />
<code><br />
(Used – buffers – cached) / Total * 100 = % memory used<br />
</code></p>
<p>So you could get the following (expressed as Perl code):<br />
<code><br />
my $memRealTotalOID = '.1.3.6.1.4.1.2021.4.5.0';<br />
my $memRealAvailOID = '.1.3.6.1.4.1.2021.4.6.0';<br />
my $memRealBuffersOID = '.1.3.6.1.4.1.2021.4.14.0';<br />
my $memRealCachedOID = '.1.3.6.1.4.1.2021.4.15.0';<br />
# Memory Calculations<br />
my $memRealUsed = $memRealTotal - $memRealAvail;<br />
</code><br />
Then you can alert on % RAM used:<br />
<code><br />
my $realPercent = (($memRealUsed - $memRealBuffers - $memRealCached )/ $memRealTotal) * 100;<br />
</code><br />
Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe martin</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-3016</link>
		<dc:creator>joe martin</dc:creator>
		<pubDate>Thu, 21 May 2009 19:26:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-3016</guid>
		<description>snmptranslate .1.3.6.1.4.1.2021.100.4.0
UCD-SNMP-MIB::versionCDate.0</description>
		<content:encoded><![CDATA[<p>snmptranslate .1.3.6.1.4.1.2021.100.4.0<br />
UCD-SNMP-MIB::versionCDate.0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe martin</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-3015</link>
		<dc:creator>joe martin</dc:creator>
		<pubDate>Thu, 21 May 2009 19:23:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-3015</guid>
		<description>Looks like the following OID returns current date/time

.1.3.6.1.4.1.2021.100.4.0+

sample:
# date;snmpwalk  -Cc -On -v2c -c public localhost  .1.3.6.1.4.1.2021.100.4.0
Thu May 21 14:21:47 CDT 2009
.1.3.6.1.4.1.2021.100.4.0 = STRING: Thu May 21 14:21:47 2009</description>
		<content:encoded><![CDATA[<p>Looks like the following OID returns current date/time</p>
<p>.1.3.6.1.4.1.2021.100.4.0+</p>
<p>sample:<br />
# date;snmpwalk  -Cc -On -v2c -c public localhost  .1.3.6.1.4.1.2021.100.4.0<br />
Thu May 21 14:21:47 CDT 2009<br />
.1.3.6.1.4.1.2021.100.4.0 = STRING: Thu May 21 14:21:47 2009</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-2917</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 12 May 2009 07:54:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-2917</guid>
		<description>Hye does anyone know the OID for getting the remote timestamp from the machine that you are querying? if so It would be much appreciated.

Cheers

John</description>
		<content:encoded><![CDATA[<p>Hye does anyone know the OID for getting the remote timestamp from the machine that you are querying? if so It would be much appreciated.</p>
<p>Cheers</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-2855</link>
		<dc:creator>Derek</dc:creator>
		<pubDate>Fri, 01 May 2009 07:48:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-2855</guid>
		<description>Great article and a nice summary.</description>
		<content:encoded><![CDATA[<p>Great article and a nice summary.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deisecairo</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-2263</link>
		<dc:creator>deisecairo</dc:creator>
		<pubDate>Thu, 22 Jan 2009 10:08:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-2263</guid>
		<description>You are right, Eduardo.

The Mem info coming from OIDs 1.3.6.1.4.1.2021.4.4.0 and 1.3.6.1.4.1.2021.4.6.0 is the just the free Swap memory and the free RAM memory in the machine. So, you can get the used Swap memory and the RAM used memory doing the difference between the Total Swap memory and the free Swap memory for the used Swap memory, and the difference between the Total RAM memory and the free RAM memory for the used RAM memory.

The OID 1.3.6.1.4.1.2021.4.11.0 is for the Total free memory in the machine (free Swap memory + free RAM memory).

Regards.</description>
		<content:encoded><![CDATA[<p>You are right, Eduardo.</p>
<p>The Mem info coming from OIDs 1.3.6.1.4.1.2021.4.4.0 and 1.3.6.1.4.1.2021.4.6.0 is the just the free Swap memory and the free RAM memory in the machine. So, you can get the used Swap memory and the RAM used memory doing the difference between the Total Swap memory and the free Swap memory for the used Swap memory, and the difference between the Total RAM memory and the free RAM memory for the used RAM memory.</p>
<p>The OID 1.3.6.1.4.1.2021.4.11.0 is for the Total free memory in the machine (free Swap memory + free RAM memory).</p>
<p>Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eduardo</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-2205</link>
		<dc:creator>Eduardo</dc:creator>
		<pubDate>Mon, 12 Jan 2009 17:32:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-2205</guid>
		<description>There is an error on description for OID .1.3.6.1.4.1.2021.4.6.0
It is not  &quot;Total RAM used&quot; as stated here, but instead, is the available real memory.</description>
		<content:encoded><![CDATA[<p>There is an error on description for OID .1.3.6.1.4.1.2021.4.6.0<br />
It is not  &#8220;Total RAM used&#8221; as stated here, but instead, is the available real memory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: allucardster</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-127</link>
		<dc:creator>allucardster</dc:creator>
		<pubDate>Thu, 04 Dec 2008 15:58:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-127</guid>
		<description>hey thank you very much for the OID. In fact, I served much

Sayonara</description>
		<content:encoded><![CDATA[<p>hey thank you very much for the OID. In fact, I served much</p>
<p>Sayonara</p>
]]></content:encoded>
	</item>
</channel>
</rss>
