2009/2/11 Ali Jawad <[email protected]>: > However [the agent] is not returning the processor load values > [r...@localhost src]# snmpwalk -cxxxxxxxx -v 2c xxxxxxxxx > .1.3.6.1.2.1.25.3.3.1 > HOST-RESOURCES-MIB::hrProcessorFrwID.768 = OID: SNMPv2-SMI::zeroDotZero > HOST-RESOURCES-MIB::hrProcessorFrwID.769 = OID: SNMPv2-SMI::zeroDotZero > HOST-RESOURCES-MIB::hrProcessorFrwID.770 = OID: SNMPv2-SMI::zeroDotZero > HOST-RESOURCES-MIB::hrProcessorFrwID.771 = OID: SNMPv2-SMI::zeroDotZero
How long has the agent been running when you query it? Remember that this is a one-minute average, so the agent can't come up with a value until it's been running for at least a minute: $ sudo /etc/init.d/snmpd start $ snmpwalk -v 2c -c public localhost .1.3.6.1.2.1.25.3.3 HOST-RESOURCES-MIB::hrProcessorFrwID.768 = OID: SNMPv2-SMI::zeroDotZero HOST-RESOURCES-MIB::hrProcessorFrwID.769 = OID: SNMPv2-SMI::zeroDotZero $ sleep 60 ; snmpwalk -v 2c -c public localhost .1.3.6.1.2.1.25.3.3.1 HOST-RESOURCES-MIB::hrProcessorFrwID.768 = OID: SNMPv2-SMI::zeroDotZero HOST-RESOURCES-MIB::hrProcessorFrwID.769 = OID: SNMPv2-SMI::zeroDotZero HOST-RESOURCES-MIB::hrProcessorLoad.768 = INTEGER: 7 HOST-RESOURCES-MIB::hrProcessorLoad.769 = INTEGER: 13 Dave ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
