ITL: Network Protocol for all Manubulon SNMP Checks#10791
Conversation
|
Just saw that the upstream added this flag in two batches:
I am unsure if my changes would be breaking, e.g., for users of an older version of the plugin. In general, the project seems to became quite slow in the last decade. |
|
I installed the package And you triggered me to dig a bit deeper. It seems Debian has patched the I am not sure if there would even be any working IPv6 support without it. And even now, the Debian packages seems to omit the |
Add a new snmp_network_protocol custom var to all Manubulon SNMP checks to configure the underlying network protocols. By default, the "snmp-manubulon-command" template, used by all Manubulon SNMP checks, sets the protocol to udp and the version of the IP matching the "snmp_address". In the meantime, the upstream moved to GitHub. This was also reflected in the docs and outdated comments, pointing to outdated versions of the checks, were removed.
0e4bc4b to
33e6e96
Compare
|
Thanks for the Debian hint. I have tested an older installation on a Debian 12, where the backport has not landed. Unfortunately, there the So, I have added a second Furthermore, I have added the defaults to the docs, as you have mentioned in the issue - thanks! |
Add a new
snmp_network_protocolcustom var to all Manubulon SNMP checks to configure the underlying network protocols. By default, thesnmp-manubulon-commandtemplate, used by all Manubulon SNMP checks, sets the protocol to udp and the version of the IP matching thesnmp_address.In the meantime, the upstream moved to GitHub. This was also reflected in the docs and outdated comments, pointing to outdated versions of the checks, were removed.
I have tested these changes with the following four hosts.
The
--protocolflag of the executed command contained eitherudp/ipv4orudp/ipv6, matching the expectation reflected in the host name.Fixes #10790.