Configure receiver for ipv6

**CMK version: check-mk-raw-2.1.0p2 **
OS version:Ubuntu 20.04.04

How do I configure the new receiver in 2.1 for ipv6? I have some ipv6-only hosts I monitor, and I was hoping to start encrypting the monitoring traffic with the 2.1 agent.

But it looks like the agent receiver is only binding to 0.0.0.0, so ipv6 is not working and I just get a connection refused of course. In the site config I don’t see any option to configure this? I only see:

CONFIG_AGENT_RECEIVER='on'
CONFIG_AGENT_RECEIVER_PORT='8000'

Can you guys add an option to just listen on alle protocols, or have me bind to :: ?

Angelo.

2 Likes

This temporary workaround worked for me:

In /opt/omd/sites/SIZE_NAME/etc/init.d/agent-receiver replace

-b 0.0.0.0:$CONFIG_AGENT_RECEIVER_PORT 

against

-b [::]:$CONFIG_AGENT_RECEIVER_PORT 

and restart your site:

omd restart SITE_NAME

Hannes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.