Don't try to use snmp4w2k to graph cpu usage on a multi-processor box. It won't 
work.

The .1.3.6.1.2.1.25.3.3.1.2.x OID (replace x with 1, 2, for whichever CPU you 
are using) is a little more reliable. However, this OID, by definition, shows 
the average CPU load over the past minute. If you are using MRTG to poll every 
five minutes, it won't be entirely accurate, although your averages over longer 
periods of time should be very close.

The best solution is if your hardware vendor supplies snmp agents that provide 
this data, like Compaq and some others do. The Compaq OID for five minute CPU 
average is .1.3.6.1.4.1.232.11.2.3.1.1.3.x (replace x with 0, 1, 2, etc.). 

If you can't use this, implement calling an external script that gets the WMI 
stats.

Jerry

-----Original Message-----
From: Michael Crousaz - HERKIMER SàRL [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 07, 2003 5:47 AM
To: Olivier BONHOMME; MRTG
Subject: [mrtg] Re: CPU Load on Win2K


First of all, you need to install SNMP4W2k
(http://www.wtcs.org/snmp4tpc/snmp4w2k.htm)

 Then, the Performance OID tree = 1.3.6.1.4.1.311.1.1.3.1.1.(##)
and the final ID's are :

Memory (1)
CPU (2)
Network Interface (3)
Physical Disk (4)
Logical Disk (5)
Paging File (6)
Process (7)
Server (8)
System (9)
Redirector (10)
Cache (11)

So, CPU OID are 1.3.6.1.4.1.311.1.1.3.1.1.2.

(Found on http://www.wtcs.org/snmp4tpc/availsta.htm#SNMP4W2K )


C U, Michael

----- Original Message -----
From: "Olivier BONHOMME" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 07, 2003 12:34 PM
Subject: [mrtg] CPU Load on Win2K


> Hi !
> I would want to know what is the MIB target for Cpu Load on Windows 2K
Server
>
> Best Regards
>
> OB
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.476 / Virus Database: 273 - Release Date: 24/04/2003
> --
> Unsubscribe mailto:[EMAIL PROTECTED]
> Archive     http://www.ee.ethz.ch/~slist/mrtg
> FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
>

--
Unsubscribe mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi


Confidentiality Notice: This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information.  Any unauthorized review, use,
disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.

--
Unsubscribe mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to