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
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...