Splunk IT Service Intelligence

Issus for SNMP Modular Input

biwy168
New Member

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?
0 Karma

pmeyerson
Path Finder

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.

0 Karma

Damien_Dallimor
Ultra Champion

Can you format the post again so I can read it ?

"..Download a Cisco Mibs in python "egg" from"....

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...