I'm having problems trying to get any sort of CPU load information from my SNMP installation. I'm using net-snmp 5.2 w/ kernel 2.6.9. I admit I'm not very familiar with SNMP so hopefully I'm just looking in the wrong place, but here's what I've tried:
$ snmpwalk -v1 -clannocc localhost .1.3.6.1.2.1.25.3.3 HOST-RESOURCES-MIB::hrProcessorFrwID.768 = OID: SNMPv2-SMI::zeroDotZero
$ snmpwalk -v1 -clannocc localhost | grep Processor HOST-RESOURCES-MIB::hrDeviceType.768 = OID: HOST-RESOURCES-TYPES::hrDeviceProcessor HOST-RESOURCES-MIB::hrProcessorFrwID.768 = OID: SNMPv2-SMI::zeroDotZero HOST-RESOURCES-MIB::hrSWRunParameters.19658 = STRING: "Processor"
$ snmpwalk -v1 -clannocc localhost | grep -i load HOST-RESOURCES-MIB::hrSystemInitialLoadDevice.0 = INTEGER: 1536 HOST-RESOURCES-MIB::hrSystemInitialLoadParameters.0 = STRING: "root=/dev/sda1 vga=773." HOST-RESOURCES-MIB::hrSWRunParameters.19965 = STRING: "-i load"
My configuration file /etc/snmp/snmpd.conf if very simple, consisting only of:
rocommunity lannocc
Any ideas?
Thanks, -shawn
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users