That's one of the problems with windows and dual cpus. Everytime you reboot the machine, 95% of the time the oids will change. When that happens and I notice that the graphs for cpu are messed up, I do an snmpwalk on 1.3.6.1.2.1.25.3.3.1.2.1 and the first two instances are the cpu instances. I change those numbers in the config file and restart MRTG. A pain in the butt but reboots do not happen very often on my dual cpu machines. I just implemented a quad Xeon server but I don't think I'll graph cpu usage because it's not worth it.
-MannyO -----Original Message----- From: Syed Ali [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 19, 2003 12:00 PM To: [EMAIL PROTECTED] Subject: [mrtg] Windows 2000 CPU numbering Hello, Is the CPU numbering different on different Windows 2000 dual processors machines? For example, on first host: (Iso.org.dod.internet.mgmt.mib-2) #snmpwalk -OT 1stwindows2000host .1.3.6.1.2.1.25.3.3 [snip] host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.1 = 0 host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.2 = 0 On second host: #snmpwalk -OT 2ndwindows2000host .1.3.6.1.2.1.25.3.3.1 [snip] host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.2 = 0 host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.3 = 0 Why are the CPU numbered 0,1 on the 1st host and 2,3 on the 2nd host when both have only 2 processors and are capable of having at most 2 processors? I am trying to get the load from dual processor Windows boxes and the above behavior is causing problems because on some boxes I have to query 0,1 and and some I have to query 2,3. I wish the index started uniformely at 0... Thank you -- 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
