<?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>Mon, 06 Feb 2012 02:01:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: amin</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-8977</link>
		<dc:creator>amin</dc:creator>
		<pubDate>Sun, 16 Oct 2011 12:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-8977</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.</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>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bjørn</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-8835</link>
		<dc:creator>Bjørn</dc:creator>
		<pubDate>Wed, 31 Aug 2011 08:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-8835</guid>
		<description>How about monitoring S.M.A.R.T. values on the hard drives? Or at least, the general health status?</description>
		<content:encoded><![CDATA[<p>How about monitoring S.M.A.R.T. values on the hard drives? Or at least, the general health status?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-7093</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 13 Dec 2010 22:36:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-7093</guid>
		<description>I am looking for the OID for Processor Queue Length
Thanks</description>
		<content:encoded><![CDATA[<p>I am looking for the OID for Processor Queue Length<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Subbu</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-6274</link>
		<dc:creator>Subbu</dc:creator>
		<pubDate>Tue, 23 Nov 2010 14:39:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-6274</guid>
		<description>Hi,
       I am unable to get Percentage of Disk Space by using the above SNMP Oid , Please help me out 
Percentage of space used on disk: .1.3.6.1.4.1.2021.9.1.9.1

Thanks,
Subbu</description>
		<content:encoded><![CDATA[<p>Hi,<br />
       I am unable to get Percentage of Disk Space by using the above SNMP Oid , Please help me out<br />
Percentage of space used on disk: .1.3.6.1.4.1.2021.9.1.9.1</p>
<p>Thanks,<br />
Subbu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Foofighter</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-6211</link>
		<dc:creator>Foofighter</dc:creator>
		<pubDate>Wed, 10 Nov 2010 11:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-6211</guid>
		<description>I cannot get to the /snmp.html page... how can I get to that content. I need help in configuring cpu utilization alerts in snmpd.conf...</description>
		<content:encoded><![CDATA[<p>I cannot get to the /snmp.html page&#8230; how can I get to that content. I need help in configuring cpu utilization alerts in snmpd.conf&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arun Mittal</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-5263</link>
		<dc:creator>Arun Mittal</dc:creator>
		<pubDate>Wed, 07 Jul 2010 17:52:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-5263</guid>
		<description>there was something wrong with my /etc/snmp/snmpd.conf file. i copy the original snmpd.conf and only change the following section and it started working fine. However the oids which you mentioned still did not work for me. so i saw in my snmpd.conf and there were oids mentioned for load avg cpu usage, i used those and everything was good.


#       sec.name  source          community
#com2sec paranoid  default         public
        com2sec  local     localhost       public
        com2sec  localnet  &quot;requesting servers ip address&quot;  public
#com2sec readwrite default         private

####
# Second, map the security names into group names:

#               sec.model  sec.name
group MyROSystem v1        local
group MyROSystem v2c       local
group MyROSystem usm       local
group MyROGroup v1         localnet
group MyROGroup v2c        localnet
group MyROGroup usm        localnet
group MyRWGroup v1         local
group MyRWGroup v2c        local
group MyRWGroup usm        local</description>
		<content:encoded><![CDATA[<p>there was something wrong with my /etc/snmp/snmpd.conf file. i copy the original snmpd.conf and only change the following section and it started working fine. However the oids which you mentioned still did not work for me. so i saw in my snmpd.conf and there were oids mentioned for load avg cpu usage, i used those and everything was good.</p>
<p>#       sec.name  source          community<br />
#com2sec paranoid  default         public<br />
        com2sec  local     localhost       public<br />
        com2sec  localnet  &#8220;requesting servers ip address&#8221;  public<br />
#com2sec readwrite default         private</p>
<p>####<br />
# Second, map the security names into group names:</p>
<p>#               sec.model  sec.name<br />
group MyROSystem v1        local<br />
group MyROSystem v2c       local<br />
group MyROSystem usm       local<br />
group MyROGroup v1         localnet<br />
group MyROGroup v2c        localnet<br />
group MyROGroup usm        localnet<br />
group MyRWGroup v1         local<br />
group MyRWGroup v2c        local<br />
group MyRWGroup usm        local</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arun Mittal</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-5260</link>
		<dc:creator>Arun Mittal</dc:creator>
		<pubDate>Wed, 07 Jul 2010 16:00:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-5260</guid>
		<description>I am trying to monitor debian machine in amazon cloud and the oids which you define here doesnt work for them. everytime i use them i get following error

snmpget -v 1 -c public targetip .1.3.6.1.4.1.2021.10.1.3.2

Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::laLoad.2

Could you give me some suggestion how to fix this.

Thanks</description>
		<content:encoded><![CDATA[<p>I am trying to monitor debian machine in amazon cloud and the oids which you define here doesnt work for them. everytime i use them i get following error</p>
<p>snmpget -v 1 -c public targetip .1.3.6.1.4.1.2021.10.1.3.2</p>
<p>Error in packet<br />
Reason: (noSuchName) There is no such variable name in this MIB.<br />
Failed object: UCD-SNMP-MIB::laLoad.2</p>
<p>Could you give me some suggestion how to fix this.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-4887</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Fri, 16 Apr 2010 12:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-4887</guid>
		<description>Careful, &quot;.1.3.6.1.2.1.1.3.0&quot; is not server uptime, it is the uptime of the SNMPd instance...
The right OID for system (e.g. since last boot) uptime is &quot;.1.3.6.1.2.1.25.1.1.0&quot;.

Cheers,
Marc.</description>
		<content:encoded><![CDATA[<p>Careful, &#8220;.1.3.6.1.2.1.1.3.0&#8243; is not server uptime, it is the uptime of the SNMPd instance&#8230;<br />
The right OID for system (e.g. since last boot) uptime is &#8220;.1.3.6.1.2.1.25.1.1.0&#8243;.</p>
<p>Cheers,<br />
Marc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Fahey</title>
		<link>http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html/comment-page-1#comment-4243</link>
		<dc:creator>Bob Fahey</dc:creator>
		<pubDate>Sat, 02 Jan 2010 07:14:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html#comment-4243</guid>
		<description>@Srinu

For disk info, 

On ubuntu:

sudo snmpwalk -c public -v 2c &#039;ip address&#039; .1.3.6.1.4.1.2021.9.1
or
sudo snmpwalk -0 n -c public -v 2c &#039;ip address&#039; .1.3.6.1.4.1.2021.9.1

That output will show you all you need to know and the relationships with your storage devices.

As root user on linux/unix, just remove the sudo from above.

Good Luck!</description>
		<content:encoded><![CDATA[<p>@Srinu</p>
<p>For disk info, </p>
<p>On ubuntu:</p>
<p>sudo snmpwalk -c public -v 2c &#8216;ip address&#8217; .1.3.6.1.4.1.2021.9.1<br />
or<br />
sudo snmpwalk -0 n -c public -v 2c &#8216;ip address&#8217; .1.3.6.1.4.1.2021.9.1</p>
<p>That output will show you all you need to know and the relationships with your storage devices.</p>
<p>As root user on linux/unix, just remove the sudo from above.</p>
<p>Good Luck!</p>
]]></content:encoded>
	</item>
	<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 - 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>

