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