All Apps and Add-ons

im trying to get a simple v1 poll working on interfaces, getting this error, any advice?

paulstark
Path Finder

ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" snmpif="snmpif://gigamontest" 2

0 Karma

joxley
Path Finder

Make sure you upgrade to version 2.5.4 or later. I have made a significant number of changes around logging and error handling and the new version will tell you what actually has gone wrong.

https://splunkbase.splunk.com/app/2673/

0 Karma

paulstark
Path Finder

logging is better, do i need hostname as opposed to IP?

message
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" file="snmpif.py" line=195 stanza="snmpif://XXX.XXX.XXX.XXX" msg="Exception in main loop"
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" Traceback (most recent call last):
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "/opt/splunk/etc/apps/snmpmod/bin/snmpif.py", line 185, in do_run
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" var_binds = snmputils.query_oids(cmd_gen, snmpif.security_object(), snmpif.transport(), oid_args)
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "/opt/splunk/etc/apps/snmpmod/bin/snmputils.py", line 79, in query_oids
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" snmp_result = cmd_gen.getCmd(security_object, transport, *oids)
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "/opt/splunk/etc/apps/snmpmod/bin/pysnmp-4.3.2-py2.7.egg/pysnmp/entity/rfc3413/oneliner/cmdgen.py", line 181, in getCmd
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" **kwargs):
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "/opt/splunk/etc/apps/snmpmod/bin/pysnmp-4.3.2-py2.7.egg/pysnmp/hlapi/asyncore/sync/cmdgen.py", line 107, in getCmd
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" lookupMib=options.get('lookupMib', True)))
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "/opt/splunk/etc/apps/snmpmod/bin/pysnmp-4.3.2-py2.7.egg/pysnmp/hlapi/asyncore/cmdgen.py", line 122, in getCmd
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" addrName, paramsName = lcd.configure(snmpEngine, authData, transportTarget)
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "/opt/splunk/etc/apps/snmpmod/bin/pysnmp-4.3.2-py2.7.egg/pysnmp/hlapi/lcd.py", line 44, in configure
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" authData.securityName
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "/opt/splunk/etc/apps/snmpmod/bin/pysnmp-4.3.2-py2.7.egg/pysnmp/entity/config.py", line 71, in addV1System
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" ((snmpCommunityEntry.name + (8,) + tblIdx, 'destroy'),)
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "/opt/splunk/etc/apps/snmpmod/bin/pysnmp-4.3.2-py2.7.egg/pysnmp/smi/instrum.py", line 250, in writeVars
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" return self.flipFlopFsm(self.fsmWriteVar, vars, acInfo)
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "/opt/splunk/etc/apps/snmpmod/bin/pysnmp-4.3.2-py2.7.egg/pysnmp/smi/instrum.py", line 218, in flipFlopFsm
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" rval = f(tuple(name), val, idx, acInfo)
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "", line 470, in writeTest
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "", line 1117, in writeTest
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "", line 1088, in __delegate
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "", line 886, in writeTest
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "", line 793, in createTest
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "", line 699, in createTest
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "", line 591, in setValue
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" File "", line 289, in setValue
message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" AttributeError: RowStatus instance has no attribute 'hasValue'

0 Karma
Get Updates on the Splunk Community!

Introducing Ingest Actions: Filter, Mask, Route, Repeat

WATCH NOW Ingest Actions (IA) is the best new way to easily filter, mask and route your data in Splunk® ...

Splunk Forwarders and Forced Time Based Load Balancing

Splunk customers use universal forwarders to collect and send data to Splunk. A universal forwarder can send ...

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...