From 332c8a2167e6895c00095d14dc9615b8ba741caa Mon Sep 17 00:00:00 2001 From: root Date: Wed, 25 Jan 2023 16:25:40 +0100 Subject: [PATCH] mise a jour goss s-agence --- goss/s-agence.yaml | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/goss/s-agence.yaml b/goss/s-agence.yaml index 5ed9d25..5565f72 100644 --- a/goss/s-agence.yaml +++ b/goss/s-agence.yaml @@ -1,39 +1,19 @@ command: - ip r: + ip route |grep default: exit-status: 0 stdout: - default via 172.16.128.254 dev enp0s8 - - 172.16.128.0/24 - - 192.168.99.0/24 stderr: [] timeout: 10000 - ping -c 2 172.16.128.254: + ping -c4 172.16.0.1: exit-status: 0 stdout: - 0% packet loss stderr: [] timeout: 10000 - ping -c 2 192.168.1.2: + ping -c4 172.16.128.254: exit-status: 0 stdout: - - 0% packet loss - stderr: [] - timeout: 10000 - ping -c 2 192.168.1.1: - exit-status: 0 - stdout: - - 0% packet loss - stderr: [] - timeout: 10000 - ping -c 2 192.168.200.254: - exit-status: 0 - stdout: - - 0% packet loss - stderr: [] - timeout: 10000 - ping -c 2 172.16.0.1: - exit-status: 0 - stdout: - - 0% packet loss + - 0% packet loss stderr: [] timeout: 10000