Dears,
i have followed documentation to create pyhton module from Mibs file and i have added all snmp input as said in documentation but i didn't get any Output and splunkd.log give me below error
please advise
11-16-2015 15:22:08.235 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" snmp_stanza:snmp://snmp_f5
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" Exception with bulkCmd to 192.168.5.221:161: poll error: Traceback (most recent call last):
11-16-2015 15:22:17.015 +0200 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/carrier/asynsock/dispatch.py", line 37, in runDispatcher
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" use_poll=True, map=self.__sockMap, count=1)
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" ; File "/opt/splunk/lib/python2.7/asyncore.py", line 220, in loop
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" poll_fun(timeout, map)
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" ; File "/opt/splunk/lib/python2.7/asyncore.py", line 201, in poll2
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" readwrite(obj, flags)
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" ; File "/opt/splunk/lib/python2.7/asyncore.py", line 123, in readwrite
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" obj.handle_error()
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" ; File "/opt/splunk/lib/python2.7/asyncore.py", line 108, in readwrite
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" obj.handle_read_event()
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" ; File "/opt/splunk/lib/python2.7/asyncore.py", line 449, in handle_read_event
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" self.handle_read()
11-16-2015 15:22:17.015 +0200 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/carrier/asynsock/dgram/base.py", line 83, in handle_read
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" self._cbFun(self, transportAddress, incomingMessage)
11-16-2015 15:22:17.015 +0200 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/carrier/base.py", line 52, in _cbFun
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" self, transportDomain, transportAddress, incomingMessage
11-16-2015 15:22:17.015 +0200 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/entity/engine.py", line 64, in __receiveMessageCbFun
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" self, transportDomain, transportAddress, wholeMsg
11-16-2015 15:22:17.015 +0200 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/proto/rfc3412.py", line 453, in receiveMessage
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" cachedParams['cbCtx']
11-16-2015 15:22:17.015 +0200 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/entity/rfc3413/cmdgen.py", line 156, in processResponsePdu
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" (cbFun, cbCtx),
11-16-2015 15:22:17.015 +0200 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/entity/rfc3413/cmdgen.py", line 599, in _handleResponse
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" varBindTable, cbCtx):
11-16-2015 15:22:17.015 +0200 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/entity/rfc3413/oneliner/cmdgen.py", line 370, in __cbFun
11-16-2015 15:22:17.015 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" [ self.unmakeVarBinds(varBindTableRow, lookupNames, lookupValues) for varBindTableRow in varBindTable ],
11-16-2015 15:22:17.015 +0200 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/entity/rfc3413/oneliner/cmdgen.py", line 233, in unmakeVarBinds
11-16-2015 15:22:17.016 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" varName = MibVariable(name).resolveWithMib(self.mibViewController)
11-16-2015 15:22:17.016 +0200 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/entity/rfc3413/oneliner/mibvar.py", line 141, in resolveWithMib
11-16-2015 15:22:17.016 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" self.__indices = rowNode.getIndicesFromInstId(suffix)
11-16-2015 15:22:17.016 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" ; File "<string>", line 1076, in getIndicesFromInstId
11-16-2015 15:22:17.016 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" ; File "<string>", line 903, in setFromName
11-16-2015 15:22:17.016 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" ; File "/opt/splunk/etc/apps/snmp_ta/bin/pyasn1-0.1.6-py2.7.egg/pyasn1/type/univ.py", line 107, in clone
11-16-2015 15:22:17.016 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" return self.__class__(value, tagSet, subtypeSpec, namedValues)
11-16-2015 15:22:17.016 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" ; File "/opt/splunk/etc/apps/snmp_ta/bin/pyasn1-0.1.6-py2.7.egg/pyasn1/type/univ.py", line 22, in __init__
11-16-2015 15:22:17.016 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" self, value, tagSet, subtypeSpec
11-16-2015 15:22:17.016 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" ; File "/opt/splunk/etc/apps/snmp_ta/bin/pyasn1-0.1.6-py2.7.egg/pyasn1/type/base.py", line 69, in __init__
11-16-2015 15:22:17.016 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" self._verifySubtypeSpec(value)
11-16-2015 15:22:17.016 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" ; File "/opt/splunk/etc/apps/snmp_ta/bin/pyasn1-0.1.6-py2.7.egg/pyasn1/type/base.py", line 33, in _verifySubtypeSpec
11-16-2015 15:22:17.016 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" raise c('%s at %s' % (i, self.__class__.__name__))
11-16-2015 15:22:17.016 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" ;ValueConstraintError: ConstraintsIntersection(ConstraintsIntersection(ConstraintsIntersection(), ValueRangeConstraint(-2147483648, 2147483647)), ValueRangeConstraint(1, 2147483647)) failed at: "ValueRangeConstraint(1, 2147483647) failed at: "0"" at Integer32
11-16-2015 15:22:17.016 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" snmp_stanza:snmp://snmp_f5
11-16-2015 15:22:25.852 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" Exception with bulkCmd to 192.168.5.221:161: poll error: Traceback (most recent call last):
11-16-2015 15:22:25.852 +0200 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/carrier/asynsock/dispatch.py", line 37, in runDispatcher
11-16-2015 15:22:25.852 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" use_poll=True, map=self.__sockMap, count=1)
11-16-2015 15:22:25.852 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" ; File "/opt/splunk/lib/python2.7/asyncore.py", line 220, in loop
11-16-2015 15:22:25.852 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" poll_fun(timeout, map)
11-16-2015 15:22:25.853 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" ; File "/opt/splunk/lib/python2.7/asyncore.py", line 201, in poll2
11-16-2015 15:22:25.853 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" readwrite(obj, flags)
↧