Closed bardahlm closed 6 years ago
check_ping should be run with -4 as parameter for hostalive4
-4 seems to be ignored missing
check_ping do not work when pinging its own FQDN (https://github.com/nagios-plugins/nagios-plugins/issues/326). Therefore, check_ping do not work when the node checks itself unless -4 is set.
If I understand command-plugins.conf (from icinga2-common) correct, -4 should be added as a command parametre:
object CheckCommand "ping4" { import "ping-common" command += [ "-4" ] vars.ping_address = "$address$" }
This do not seem to work.
icinga2 --version
icinga2 feature list
Might be an edge case. Problem disappeared when we moved some checks around.
Expected Behavior
check_ping should be run with -4 as parameter for hostalive4
Current Behavior
-4 seems to be ignored missing
Possible Solution
Steps to Reproduce (for bugs)
Context
check_ping do not work when pinging its own FQDN (https://github.com/nagios-plugins/nagios-plugins/issues/326). Therefore, check_ping do not work when the node checks itself unless -4 is set.
If I understand command-plugins.conf (from icinga2-common) correct, -4 should be added as a command parametre:
This do not seem to work.
Your Environment
icinga2 --version
):icinga2 feature list
): Enabled features: api checker command ido-mysql influxdb livestatus mainlog notification