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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...