[Xymon] SNMPv3 patch

Jeremy Laidman jeremy at laidman.org
Thu Jul 28 13:33:02 CEST 2022


Hi all

The attached patch fixes some bugs in the parser of snmphosts.cfg that make
the SNMPv3 implementation mostly useless. These are all off-by-one errors
that cause strings like "passphrase=" to never be found in the
configuration file.

I've also changed two instances of debug logging to error logging because
they're errors that need operator/sysadmin intervention: one is an error in
the configuration (eg "Host X ... no such name") and the other is a
connection timeout.

Cheers
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20220728/465e37bd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xymon-snmpcollect.c-authentication.patch
Type: application/octet-stream
Size: 2453 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20220728/465e37bd/attachment.obj>


More information about the Xymon mailing list