All Apps and Add-ons

SNMP Traps are being indexed in splunk, but errors in log. What do they mean?

dcroteau
Splunk Employee
Splunk Employee

Any help for the SNMP-TA modular input?

Even if snmp traps are being indexed now. I am still seeing the following errors on the logs. I think that some of them are errors in the MIBs such as the one for OID 1.3.6.1.4.1.xxxx.4.9.1.6.5.3.6 and some of them complain about snmp_stanza:snmp://X490_SNMP. I don’t know how to fix them.

I've x'd out the actual vendor part of the oid...I did not know if it constitutes "Personal Identifiable Info", so I did the safe thing.

02-13-2017 16:55:35.360 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" Exception resolving MIB value in the caught trap: Can't coerce BindValue().setComponentByPosition(0, ObjectSyntax().setComponentByPosition(1, ApplicationSyntax().setComponentByPosition(2, TimeTicks(40601179)))) into integer: _BindValue instance has no attribute 'trunc' snmp_stanza:snmp://X490_SNMP
02-13-2017 16:55:35.360 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" Exception resolving MIB value in the caught trap: Invalid sub-ID in (ObjectSyntax().setComponentByPosition(0, SimpleSyntax().setComponentByPosition(2, ObjectIdentifier(1.3.6.1.4.1.xxxx.4.9.1.6.5.3.6))), None, None, None, None) at ObjectIdentifier snmp_stanza:snmp://X490_SNMP
02-13-2017 16:55:35.360 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" Exception resolving MIB value in the caught trap: Can't coerce _BindValue().setComponentByPosition(0, ObjectSyntax().setComponentByPosition(1, ApplicationSyntax().setComponentByPosition(5, Gauge32(126012)))) into integer: _BindValue instance has no attribute '
trunc_' snmp_stanza:snmp://X490_SNMP

0 Karma
1 Solution

Damien_Dallimor
Ultra Champion

Assuming that you have attempted to convert the custom MIB's to python modules already and these are declared in inputs.conf....

I'm going to guess that you did not convert the MIB files to python modules correctly / completely.Perhaps there were MIB dependencies (usually listed at the top of the MIB file) inside those MIB files that you missed also ?

See my accepted answer here also :

https://answers.splunk.com/answers/216296/cannot-resolve-node-name-for-custom-mibs.html#answer-21681...

View solution in original post

0 Karma

Damien_Dallimor
Ultra Champion

Assuming that you have attempted to convert the custom MIB's to python modules already and these are declared in inputs.conf....

I'm going to guess that you did not convert the MIB files to python modules correctly / completely.Perhaps there were MIB dependencies (usually listed at the top of the MIB file) inside those MIB files that you missed also ?

See my accepted answer here also :

https://answers.splunk.com/answers/216296/cannot-resolve-node-name-for-custom-mibs.html#answer-21681...

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...