How to get rid of the warning "check_mk: Config creation for active check icmp failed on XXX: Host has no IP stack configured"

CMK version: 2.3.0.p35
OS version: Redhat

Error message: check_mk: Config creation for active check icmp failed on XXX: Host has no IP stack configured

Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)
OMD[noc]:~$ cmk --debug -vnn XXX

  • FETCHING DATA
  • EXECUTING INVENTORY PLUGINS
    execution time 0.0 sec | execution_time=0.010 user_time=0.010 system_time=0.000 children_user_time=0.000 children_system_time=0.000

We are monitoring some office 365 MX records within check mk, the goal is to monitor the response times. The problem is that check mk can’t ping the office 365 MX records.
So I can up with the idea to configure the “IP Adress family” with “NO IP” and that works fine.
The only problem is that on the “activate pending changes” page a lot of warnings are visible from all these hosts.

How can I get rid of these warnings?

All these hosts are configured with only a hostname and these 4 settings.
image

Beside that we also configured the “check DNS service” rules and are linked to the relevant host.
The setting “Queried host name or IP Adress” is the office 365 MX record
The “folder” is configured where the host in located
The “explicit hosts” is the host where the DNS check is created.

Thanks in advance.

I have the same issue but then for a VM in the cloud.

Nobody got a solution\workaround?

In your case you have a rule that is configuring an ICMP ping check for this host. As this host has no IP you get the error message.

I checked with one of my hosts and this error only appears if there is a rule

Check hosts with PING (ICMP Echo Request)

existing for such a device without IP.

2 Likes

Yup, that did the trick, so did a few things to fix the warnings;

Created a host tag “NoPing”
Added the host tag to the relevant hosts
Created a default rule for “Check hosts with PING (ICMP Echo Request)” with host tag is not “NoPing”
Created a default rule for “Host check command” with host tag is “NoPing” and with the value “always assume host to be up”.

Now the warnings are gone.

@Steven1 FYI

2 Likes