From b14c35a7aad41d081e3371c1b65e1ad96b0bcd9e Mon Sep 17 00:00:00 2001 From: bb Date: Thu, 28 Jan 2021 15:31:29 +0100 Subject: [PATCH] Ajout d'un fichier goss pour s-agence --- goss/s-agence.yaml | 39 +++++++++++++++++++++++++++++++++++++++ s-agence.yml | 1 + 2 files changed, 40 insertions(+) create mode 100644 goss/s-agence.yaml diff --git a/goss/s-agence.yaml b/goss/s-agence.yaml new file mode 100644 index 0000000..c2d09bd --- /dev/null +++ b/goss/s-agence.yaml @@ -0,0 +1,39 @@ +command: + ip r: + 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.0.1: + exit-status: 0 + stdout: + - 0% packet loss + stderr: [] + timeout: 10000 + ping -c 2 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.1.2: + 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 diff --git a/s-agence.yml b/s-agence.yml index 8de8bee..4f636a8 100644 --- a/s-agence.yml +++ b/s-agence.yml @@ -7,3 +7,4 @@ - ssh-cli - syslog-cli - post + - goss