After installing the latest version of the SNMP Modular Input add-on (1.2.7), I got it to work on reading temperatures from our data center racks.
The AFCO racks use this simple SNMP v1 MIB, which I converted to PySNMP MIB.
Using numerical OIDs (e.g. .1.3.6.1.4.1.29660.2.3.2.0) the module is able to read the temperatures. Now, I am having difficulties trying to configure it to use the MIB. I've tried to set "Object Names List" to these:
Temperature2,Temperature3
Temperature2.0,Temperature3.0
AFCOMFG-TMM-MIB::Temperature2,AFCOMFG-TMM-MIB::Temperature3
AFCOMFG-TMM-MIB::Temperature2.0,AFCOMFG-TMM-MIB::Temperature3.0
None of those seems to work. The errors I'm getting are:
11-28-2016 16:17:03.169 -0500 INFO ExecProcessor - New scheduled exec process: python /app/splunk/etc/apps/snmp_ta/bin/snmp.py
11-28-2016 16:17:03.339 -0500 ERROR ExecProcessor - message from "python /app/splunk/etc/apps/snmp_ta/bin/snmp.py" Exception with getCmd to 10.23.68.87:161: NoSuchObjectError({'name': (1, 3, 6, 1, 6, 3, 12, 1, 2, 1, 9, 97, 53, 56, 55, 53, 56, 56, 53, 49, 55), 'idx': 0}) snmp_stanza:snmp://DCTemperature
11-28-2016 16:17:03.340 -0500 ERROR ExecProcessor - message from "python /app/splunk/etc/apps/snmp_ta/bin/snmp.py" Exception with getCmd to 10.23.68.107:161: NoSuchObjectError({'name': (1, 3, 6, 1, 6, 3, 12, 1, 2, 1, 1, 97, 53, 56, 55, 53, 56, 56, 53, 49, 54), 'idx': 1}) snmp_stanza:snmp://DCTemperature
11-28-2016 16:17:03.356 -0500 ERROR ExecProcessor - message from "python /app/splunk/etc/apps/snmp_ta/bin/snmp.py" Exception with getCmd to 10.23.68.99:161: NoSuchObjectError({'str': "Can't resolve node name ::('Temperature2', '0') at <pysnmp.smi.view.MibViewController instance at 0x7f6d01e15ef0>"}) snmp_stanza:snmp://DCTemperature
... View more