Under previous Raspbian I could get the percent CPU with SNMP using the OID:
.1.3.6.1.2.1.25.3.3.1.2.768
which gave an integer percent CPU usage, but this doesn't work with Jessie. Does anyone know what the equivalent is for percentage CPU? I have searched without success, only finding a string variable, not an integer.
Thanks for the suggestion, but that's beaten me! I can only see what look like network or process data, no loading at all. Perhaps I have the wrong snmpwalk command, or perhaps I don't have the MIBs loaded, or?
Snmpwalk will walk the entire contents of the database, in numeric form, and (possibly) convert that to strings.
If the CPU data is not in the database, that is probably a sign that some shim that gets it from somewhere and puts it IN the database, is not loaded or not functioning. That's controlled by snmpd.conf
First of all are you getting FULL dumps - many many pages.
If not edit /etc/snmp/snmpd.conf
# Default access to EVERYTHING rocommunity public localhost
# Default access to basic system info #rocommunity public default -V systemonly
-------------------- as root (or sudo) #apt-get install snmp-mibs-downloader #download-mibs
and to get snmpwalk to use em comment out the line mibs: in /etc/snmp/snmp.conf to #mibs:
Now you should have human readable crap spewing out of snmpwalk in quantity
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.