Describe the bug
When trying to use the manubulon snmp-interface command on a IPv6 host, the command will error out that is it unable to "Unable to resolve the UDP/IPv4 address".
The command seems to use the ipv4-or-ipv6 macro, correctly setting the -H parameter. However the --protocol parameter remains unchanged.
--protocol=PROTOCOL
Network protocol to be used
['udp/ipv4'] : UDP over IPv4
'udp/ipv6' : UDP over IPv6
'tcp/ipv4' : TCP over IPv4
'tcp/ipv6' : TCP over IPv6
This seems to be true for all the manubulon plugins.
Expected behavior
The command should either switch the protocol argument according to the address used, or allow for a way to let the user set the protocol.
Your Environment
Include as many relevant details about the environment you experienced the problem in
- Version used (
icinga2 --version): r2.15.2-1
- Operating System and version: Debian 13 (trixie)
Describe the bug
When trying to use the manubulon
snmp-interfacecommand on a IPv6 host, the command will error out that is it unable to "Unable to resolve the UDP/IPv4 address".The command seems to use the
ipv4-or-ipv6macro, correctly setting the-Hparameter. However the--protocolparameter remains unchanged.This seems to be true for all the manubulon plugins.
Expected behavior
The command should either switch the protocol argument according to the address used, or allow for a way to let the user set the protocol.
Your Environment
Include as many relevant details about the environment you experienced the problem in
icinga2 --version): r2.15.2-1