Hi expert:
I download apps SNMP Modular Input from http:\\splunk-base.splunk.com/apps/88686/snmp-modular-input
I have read description in that websit.
Download a Cisco Mibs in python "egg" from
But I can not see any snmp data, and some error in $SPLUNK_HOMEar/log/splunk/splunkd.log as blow.
06-27-2013 15:28:52.173 +0800 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" Traceback (most recent call last):
06-27-2013 15:28:52.173 +0800 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" File "/opt/splunk/etc/apps/snmp_ta/bin/snmp.py", line 492, in
06-27-2013 15:28:52.173 +0800 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" do_run()
06-27-2013 15:28:52.173 +0800 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" File "/opt/splunk/etc/apps/snmp_ta/bin/snmp.py", line 285, in do_run
06-27-2013 15:28:52.173 +0800 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" mibBuilder.loadModules(*mib_names_args)
06-27-2013 15:28:52.173 +0800 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" File "/opt/splunk/etc/apps/snmp_ta/bin/pysnmp-4.2.4-py2.7.egg/pysnmp/smiilder.py", line 262, in loadModules
06-27-2013 15:28:52.173 +0800 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" pysnmp.smi.error.SmiError: MIB file "Cisco-Mibs.py[co]" not found in search path
How can I solve this issus?
I think the issue is you are missing the .pyc python byte code compile files.
I was able to generate these on a linux/CentOS box by running the following command from the directory where my .py files live:
python -m compileall .
(careful you need to include the space + period at the end of the command).
Then add the .pyc to your snmp-ta mibs folder on your splunk server.
Can you format the post again so I can read it ?
"..Download a Cisco Mibs in python "egg" from"....