Re: NULL result with net-snmp-5.9.4_1,1
- Reply: Mark Johnston : "Re: NULL result with net-snmp-5.9.4_1,1"
- In reply to: Budi Janto : "NULL result with net-snmp-5.9.4_1,1"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 01 Jun 2024 15:35:02 UTC
On Sun, May 26, 2024, at 2:00 AM, Budi Janto wrote: > 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 with net-snmp-5.9.4_2,1 for what it's worth: [dvl@besser:~] $ snmpwalk -v3 -l authPriv -u roMinion -a SHA -A $AUTHPASS -X $PRIVPASS -x AES dev-nginx01.int.unixathome.org | grep temperature [dvl@besser:~] $ Same issue here. Adding markj in here - he has been making recent changes to the port - not that I'm sure this is related to pkg. -- Dan Langille dan@langille.org