You need to look in the Host Resources MIB to get the CPU usage information for a Windows server. Specifically, walk hrProcessorLoad to find the load average for each CPU (assuming you have multiple CPUs and/or HyperThreading enabled).
snmpwalk -v 1 -c public 192.168.1.1 hrProcessorLoad HOST-RESOURCES-MIB::hrProcessorLoad.3 = INTEGER: 7 HOST-RESOURCES-MIB::hrProcessorLoad.4 = INTEGER: 7 HOST-RESOURCES-MIB::hrProcessorLoad.5 = INTEGER: 7 HOST-RESOURCES-MIB::hrProcessorLoad.6 = INTEGER: 9 _______________________________ Nathan Way CCIE #2188 Datanode, LLC (425) 823-6661 / (800) 876-4275 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Anders Sent: Tuesday, August 16, 2005 10:50 AM To: [email protected] Subject: Re: how to get OIDs to MRTG [EMAIL PROTECTED] wrote: > I use this command in net-snmp: snmpget -v 2c -c private localhost > ssCpuRawUser.0 The answer is: UCD-SNMP-MIB::ssCpuRawUser.0=No Such > Object available on this agent at this OID. > So ,what is the wrong? what should i do? It is probably just not (yet) implemented on Windows. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
