All Apps and Add-ons

SNMP cant get any poll data

jadengoho
Builder

HI Everyone,
just want to know why i dont get any data from snmp_ta
heere is my splunkd.log

5/9/18 3:20:33.908 AM 05-09-2018 03:20:33.908 -0400 
 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" Traceback (most recent call last):
host =  prd-usc1-a-splunk-hf1 source =  /opt/splunk/var/log/splunk/splunkd.log sourcetype = splunkd

5/9/18 3:20:33.908 AM   05-09-2018 03:20:33.908 -0400 
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 771, in <module>
host =  prd-usc1-a-splunk-hf1 source =  /opt/splunk/var/log/splunk/splunkd.log sourcetype = splunkd

5/9/18 3:20:33.908 AM 05-09-2018 03:20:33.908 -0400
 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py"     do_run()
host =  prd-usc1-a-splunk-hf1 source =  /opt/splunk/var/log/splunk/splunkd.log sourcetype = splunkd
5/9/18 3:20:33.908 AM 05-09-2018 03:20:33.908 -0400
 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 475, in do_run
host =  prd-usc1-a-splunk-hf1 source =  /opt/splunk/var/log/splunk/splunkd.log sourcetype = splunkd

5/9/18 3:20:33.908 AM 05-09-2018 03:20:33.908 -0400 
ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py"     mibBuilder.loadModules(*mib_names_args)
host =  prd-usc1-a-splunk-hf1 source =  /opt/splunk/var/log/splunk/splunkd.log sourcetype = splunkd

5/9/18
3:20:33.908 AM 05-09-2018 03:20:33.908 -0400 
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.5-py2.7.egg/pysnmp/smi/builder.py", line 270, in loadModules
host =  prd-usc1-a-splunk-hf1 source =  /opt/splunk/var/log/splunk/splunkd.log sourcetype = splunkd

5/9/18 3:20:33.908 A 05-09-2018 03:20:33.908 -0400 
ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" pysnmp.smi.error.SmiError: MIB file "MATRIXX-SMI.py.py[co]" not found in search path

Did i miss something , its same like this one :
https://answers.splunk.com/answers/123794/snmp-modular-input-mib-file-not-found-in-path.html
but no image indicated below i cant see it , so i cant really resolve this problem.

0 Karma
1 Solution

xpac
SplunkTrust
SplunkTrust

Hey,

the actual error message is in your last line:
MIB file "MATRIXX-SMI.py.py[co]" not found in search path

The picture in the post you mentioned is this:

Did you either select the proper MIB file as mentioned here in the docs for the TA, or built yourself a custom one and properly placed it, as also mentioned in that doc?

View solution in original post

0 Karma

deepashri_123
Motivator

Hey jadengoho,

Have you added pycrypto package ?
Refer the steps in this link:
https://splunkbase.splunk.com/app/1537/#/details

Let me know if this helps!!

0 Karma

jadengoho
Builder

Is that needed since we are using snmp v2C ?

0 Karma

xpac
SplunkTrust
SplunkTrust

Hey,

the actual error message is in your last line:
MIB file "MATRIXX-SMI.py.py[co]" not found in search path

The picture in the post you mentioned is this:

Did you either select the proper MIB file as mentioned here in the docs for the TA, or built yourself a custom one and properly placed it, as also mentioned in that doc?

0 Karma

jadengoho
Builder

i mistakenly input MATRIXX-SMI.py in MIB (snmp manager) but change it to just "MATRIXX-SMI"
But still getting this error ,

MIB file "MATRIXX-SMI.py.py[co]" not found in search path

And yes i put the make a .egg file and put on the /snmp_ta/bin/mibs

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...