Xymon Mailing List Archive search

SNMPv3 patch

list Jeremy Laidman
Thu, 28 Jul 2022 21:33:02 +1000
Message-Id: <CACO=user-6f62668f4829@xymon.invalid>

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
Attachments (1)