Skip to content

manubulon ipv6 support #10790

@m4rcu5

Description

@m4rcu5

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/itlTemplate Library CheckCommands

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions