From 49988d5de6e2fb86a3b5d28e6a84ea5f159dea87 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 2 Jan 2025 09:39:58 +0000 Subject: Always ping with ipv4 --- nagios/objects/commands.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nagios/objects/commands.cfg b/nagios/objects/commands.cfg index 651590a..772e7a3 100644 --- a/nagios/objects/commands.cfg +++ b/nagios/objects/commands.cfg @@ -10,7 +10,7 @@ define command { define command { command_name check-host-alive - command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 + command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 -4 } define command { @@ -121,7 +121,7 @@ define command { define command { command_name check_ping - command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 + command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 -4 } define command { -- cgit v1.2.3