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
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0i1 2.0.0p17
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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