ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmpmod/bin/snmpif.py" snmpif="snmpif://gigamontest" 2
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.
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'