Werk #13519: check_icmp: Fix "Failed to resolve $: Name or service not known"

Component Checks & agents
Title check_icmp: Fix "Failed to resolve $: Name or service not known"
Date Nov 25, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p17 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Depending on the configuration, the active check check_icmp (ICMP Echo Requests) crashed with "Failed to resolve $: Name or service not known".

This happened with the following configuration options below "Alternative address to ping":

  • Ping all IPv4 addresses
  • Ping all IPv6 addresses
  • Ping additional IPv4 addresses
  • Ping additional IPv6 addresses
  • Ping IPv4 address identified by its index
  • Ping IPv6 address identified by its index

To the list of all Werks