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!

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...