[Bug 506865] Re: snmp-net not working with lm-sensors

Erik van Elsas ubuntu at limbels.nl
Tue Jun 1 10:26:21 BST 2010


I think the problem in lucid lies in the switch to the libsensors4 API in agent/mibgroup/ucd-snmp/lmSensors.c
Patch 60 replaces the test (data->mapping == SENSORS_NO_MAPPING) with a test for (subfeature->mapping == 0).
In libsensors3, the SENSORS_NO_MAPPING value indicated a new main feature.  The subfeature mapping on the other hand indicates the number of the feature it belongs to.  So the test only succeeds for (all of the) subfeatures of the first feature. All other features are skipped.

-- 
snmp-net not working with lm-sensors
https://bugs.launchpad.net/bugs/506865
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in ubuntu.



More information about the Ubuntu-server-bugs mailing list