Re: Need some help with an Snmp Entry.
Posted: Thu Dec 01, 2016 10:24 am
Since it's been over a month since the last post, can you fill us in on where we are with the original issue? Has there been any chance in that time? Thanks!
Support for Nagios products and services
https://support.nagios.com/forum/
Fantastic! It's always great to have community contributions!skyerjoe wrote: at the end i'll make an summary
Code: Select all
[1488528430.390022] Exception handling a snmptrap (skipping this one): Traceback (most recent call last):
File "/omd/sites/SBA2/bin/mkeventd", line 1299, in serve
self.process_raw_data(self.process_snmptrap, self._snmptrap.recvfrom(65535))
File "/omd/sites/SBA2/bin/mkeventd", line 1327, in process_raw_data
handler_func(data)
File "/omd/sites/SBA2/bin/mkeventd", line 1132, in process_snmptrap
req_msg, whole_msg = pyasn_decoder.decode(whole_msg, asn1Spec = proto.Message())
File "/usr/lib/python2.7/dist-packages/pyasn1/codec/ber/decoder.py", line 825, in __call__
stGetValueDecoder, self, substrateFun
File "/usr/lib/python2.7/dist-packages/pyasn1/codec/ber/decoder.py", line 342, in valueDecoder
component, head = decodeFun(head, asn1Spec)
File "/usr/lib/python2.7/dist-packages/pyasn1/codec/ber/decoder.py", line 825, in __call__
stGetValueDecoder, self, substrateFun
File "/usr/lib/python2.7/dist-packages/pyasn1/codec/ber/decoder.py", line 50, in valueDecoder
value, _ = decodeFun(head, asn1Spec, tagSet, length)
File "/usr/lib/python2.7/dist-packages/pyasn1/codec/ber/decoder.py", line 831, in __call__
'%s not in asn1Spec: %s' % (tagSet, asn1Spec)
PyAsn1Error: [0:0:6]+[128:32:4] not in asn1Spec: TagMap:
posMap:
[untagged] -> PDUs {
"get-request" = [128:32:0] -> GetRequestPDU {
"request-id" = [0:0:2] -> Integer32
"error-status" = [0:0:2] -> Integer
"error-index" = [0:0:2] -> Integer
"variable-bindings" = [0:32:16] -> VarBindList {
[0:32:16] -> VarBind {
"name" = [0:0:6] -> ObjectName
"" = [untagged] -> _BindValue {
"value" = [untagged] -> ObjectSyntax {
"simple" = [untagged] -> SimpleSyntax {
"integer-value" = [0:0:2] -> Integer
"string-value" = [0:0:4] -> OctetString
"objectID-value" = [0:0:6] -> ObjectIdentifier
}
"application-wide" = [untagged] -> ApplicationSyntax {
"ipAddress-value" = [64:0:0] -> IpAddress
"counter-value" = [64:0:1] -> Counter32
"timeticks-value" = [64:0:3] -> TimeTicks
"arbitrary-value" = [64:0:4] -> Opaque
"big-counter-value" = [64:0:6] -> Counter64
"gauge32-value" = [64:0:2] -> Gauge32
}
}
"unSpecified" = [0:0:5] -> Null
"noSuchObject" = [128:0:0] -> NoSuchObject
"noSuchInstance" = [128:0:1] -> NoSuchInstance
"endOfMibView" = [128:0:2] -> EndOfMibView
}
}
}
}
"get-next-request" = [128:32:1] -> GetNextRequestPDU {
"request-id" = [0:0:2] -> Integer32
"error-status" = [0:0:2] -> Integer
"error-index" = [0:0:2] -> Integer
"variable-bindings" = [0:32:16] -> VarBindList {
[0:32:16] -> VarBind {
"name" = [0:0:6] -> ObjectName
"" = [untagged] -> _BindValue {
"value" = [untagged] -> ObjectSyntax {
"simple" = [untagged] -> SimpleSyntax {
"integer-value" = [0:0:2] -> Integer
"string-value" = [0:0:4] -> OctetString
"objectID-value" = [0:0:6] -> ObjectIdentifier
}
"application-wide" = [untagged] -> ApplicationSyntax {
"ipAddress-value" = [64:0:0] -> IpAddress
"counter-value" = [64:0:1] -> Counter32
"timeticks-value" = [64:0:3] -> TimeTicks
"arbitrary-value" = [64:0:4] -> Opaque
"big-counter-value" = [64:0:6] -> Counter64
"gauge32-value" = [64:0:2] -> Gauge32
}
}
"unSpecified" = [0:0:5] -> Null
"noSuchObject" = [128:0:0] -> NoSuchObject
"noSuchInstance" = [128:0:1] -> NoSuchInstance
"endOfMibView" = [128:0:2] -> EndOfMibView
}
}
}
}