Splunk ITSI

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!

Monitoring Postgres with OpenTelemetry

Behind every business-critical application, you’ll find databases. These behind-the-scenes stores power ...

Mastering Synthetic Browser Testing: Pro Tips to Keep Your Web App Running Smoothly

To start, if you're new to synthetic monitoring, I recommend exploring this synthetic monitoring overview. In ...

Splunk Edge Processor | Popular Use Cases to Get Started with Edge Processor

Splunk Edge Processor offers more efficient, flexible data transformation – helping you reduce noise, control ...