Hello,
I have been trying to get the following mib to work with SNMP in Splunk:
http://protocolsoftware.com/documents/mibs/saatrap.mib.txt
I changed the file name to SAATRAP.mib and I changed the name inside the file from 'saatrap' to 'SAATRAP'. After that I followed the directions at https://apps.splunk.com/app/1537/#/documentation to add a custom mib by issuing the following commands:
smidump -k -f python ./SAATRAP.mib | /usr/bin/libsmi2pysnmp > SAATRAP.py
smidump -k -f python ./RFC-1212.mib | /usr/bin/libsmi2pysnmp > RFC-1212.py
After issuing these commands I placed SAATRAP.py and RFC-1212.py into the etc/apps/snmp_ta/bin/mibs/ folder of my splunk installation, I added SAATRAP to the Custom Mib Names field under my SNMP data input. Now when I click Save for the my SNMP data input I get the following error:
01-02-2015 16:26:44.815 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" pysnmp.smi.error.SmiError: MIB module "/opt/splunk/etc/apps/snmp_ta/bin/mibs/SAATRAP.py" load error: ['Traceback (most recent call last):\n', ' File "/opt/splunk/etc/apps/snmp_ta/bin/pysnmp-4.2.5-py2.7.egg/pysnmp/smi/builder.py", line 255, in loadModules\n exec(modData, g)\n', ' File "", line 10, in \n', ' File "/opt/splunk/etc/apps/snmp_ta/bin/pysnmp-4.2.5-py2.7.egg/pysnmp/smi/builder.py", line 302, in importSymbols\n \'No module %s loaded at %s\' % (modName, self)\n', 'SmiError: No module RFC-1212 loaded at \n']
Any help regarding this error would be greatly appreciated.
... View more