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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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