NULL result with net-snmp-5.9.4_1,1
- Reply: Dan Langille: "Re: NULL result with net-snmp-5.9.4_1,1"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 26 May 2024 06:00:29 UTC
Hi, I need some help with Net-SNMP packages for monitoring CPU temperature. # uname -smr FreeBSD 14.0-RELEASE-p5 amd64 # pkg info | grep net-snmp net-snmp-5.9.4_1,1 Extendable SNMP implementation # sh x/snmp-cpu-temperature.sh 30.0 29.0 28.0 28.0 29.0 29.0 29.0 29.0 30.0 28.0 28.0 27.0 # snmpwalk -v2c -c public localhost . | grep 'NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpu-temperature"' NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpu-temperature".1 = STRING: That's NULL result. But, I changed to net-snmp-5.9.4,1 version. # pkg info | grep net-snmp net-snmp-5.9.4,1 Extendable SNMP implementation # snmpwalk -v2c -c public localhost . | grep 'NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpu-temperature"' NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpu-temperature".1 = STRING: 35.0 NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpu-temperature".2 = STRING: 35.0 NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpu-temperature".3 = STRING: 38.0 NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpu-temperature".4 = STRING: 38.0 NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpu-temperature".5 = STRING: 38.0 NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpu-temperature".6 = STRING: 38.0 NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpu-temperature".7 = STRING: 36.0 NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpu-temperature".8 = STRING: 36.0 NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpu-temperature".9 = STRING: 39.0 NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpu-temperature".10 = STRING: 39.0 NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpu-temperature".11 = STRING: 35.0 NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpu-temperature".12 = STRING: 36.0 That's correct result. Thanks for advice. -- Regards, Budi Janto