Need some help with an Snmp Entry.
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Need some help with an Snmp Entry.
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!
Re: Need some help with an Snmp Entry.
Hello dwhitfield
Sorry for delay .. but i'm an one man monitoring army and we have other projects with more priority .. i have to do what my boss say
We migrate our nagios instance to omd, and omd has an own integrated Snmptrap mechanism which can be started in the config and manged over the checkmk event console.
Today i made some tests but i'm not on final ... i'll give feedback if the solution works or not
best regards john
Sorry for delay .. but i'm an one man monitoring army and we have other projects with more priority .. i have to do what my boss say
We migrate our nagios instance to omd, and omd has an own integrated Snmptrap mechanism which can be started in the config and manged over the checkmk event console.
Today i made some tests but i'm not on final ... i'll give feedback if the solution works or not
best regards john
Nagios Core 3.5.1
Checkmk 1.2.4p5
Checkmk 1.2.4p5
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Need some help with an Snmp Entry.
No problem on the wait. I just wanted to make sure we weren't missing something new from the gap.
Re: Need some help with an Snmp Entry.
Dwithfield
Don't worry .. you won't missed anything
.. believe me ; )
at the end i'll make an summary
best regards john
Don't worry .. you won't missed anything
.. believe me ; )
at the end i'll make an summary
best regards john
Nagios Core 3.5.1
Checkmk 1.2.4p5
Checkmk 1.2.4p5
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Need some help with an Snmp Entry.
Fantastic! It's always great to have community contributions!skyerjoe wrote: at the end i'll make an summary
Re: Need some help with an Snmp Entry.
Hello Folks
Here is an Update.
I migrate Nagios to OMD - Open Monitoring Distribution Version 2.20-labs-edition and it uses the Nagios Core Version 3.5.0 but the snmp thing drives me crazy atm.
OMD has an integrated SNP Trap Deamon. But it seems that my Python on the System and the OMD One are collidating in some way.
I made some tests again:
1. Snmp Cold Trap to OMD --> Works
2. SNMP Trap clone from the Watersensor to OMD --- > Works
3. Direct triggered snmp Trap from the Watersensor to OMD -- doesn't Work
Here is an outline ( the whole is several thousand rows but it's an loop ) from on Debug log from the Trap Deamon:
Adittional:
Here the link for the complete Debug Log:
https://www.file-upload.net/download-12 ... d.log.html
An other user from an mailinglist from OMD says that the System is sending illegal strings for Python parsing.
any ideas ?
best regards john
Here is an Update.
I migrate Nagios to OMD - Open Monitoring Distribution Version 2.20-labs-edition and it uses the Nagios Core Version 3.5.0 but the snmp thing drives me crazy atm.
OMD has an integrated SNP Trap Deamon. But it seems that my Python on the System and the OMD One are collidating in some way.
I made some tests again:
1. Snmp Cold Trap to OMD --> Works
2. SNMP Trap clone from the Watersensor to OMD --- > Works
3. Direct triggered snmp Trap from the Watersensor to OMD -- doesn't Work
Here is an outline ( the whole is several thousand rows but it's an loop ) from on Debug log from the Trap Deamon:
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
}
}
}
}
Here the link for the complete Debug Log:
https://www.file-upload.net/download-12 ... d.log.html
An other user from an mailinglist from OMD says that the System is sending illegal strings for Python parsing.
any ideas ?
best regards john
Nagios Core 3.5.1
Checkmk 1.2.4p5
Checkmk 1.2.4p5
Re: Need some help with an Snmp Entry.
If this system is on OMD now, we cannot offer additional assistance since that's not our software. I would recommend seeking help from the OMD community in this case. I'm vaguely familiar with pyasn1, but haven't much experience with whatever mkeventd is doing.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Need some help with an Snmp Entry.
Hello Mcapra
I thought as much .. i just write here cause dwithfield has encouraged me to give an Update from my Case.
But i think your'e right this is gone a little bit beyound nagios.
I'll see if i can solve this in an other way ( OMD Support etc.)
but i still want to give you the end of the Story cause you've helped me so much that the community here deserves an info about the end.
Thanks everybody for guidance
best regards john
I thought as much .. i just write here cause dwithfield has encouraged me to give an Update from my Case.
But i think your'e right this is gone a little bit beyound nagios.
I'll see if i can solve this in an other way ( OMD Support etc.)
but i still want to give you the end of the Story cause you've helped me so much that the community here deserves an info about the end.
Thanks everybody for guidance
best regards john
Nagios Core 3.5.1
Checkmk 1.2.4p5
Checkmk 1.2.4p5
Re: Need some help with an Snmp Entry.
Hi John, We look forward to hearing back on any progress you make.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Need some help with an Snmp Entry.
Hello everyone,
Unfortunately atm. the nagios snmp project is postponend in our company but not discontinued.
I'm not sure how we should handle this here now, set on closed and i have to ask an admin for reopening or just leave as it is.
best regards john.
Unfortunately atm. the nagios snmp project is postponend in our company but not discontinued.
I'm not sure how we should handle this here now, set on closed and i have to ask an admin for reopening or just leave as it is.
best regards john.
Nagios Core 3.5.1
Checkmk 1.2.4p5
Checkmk 1.2.4p5