argos/config.yaml

92 lines
2.3 KiB
YAML

general:
frequency: "1m" # Run checks every minute.
alerts:
error:
- local
warning:
- local
alert:
- local
service:
secrets:
# Secrets can be generated using `openssl rand -base64 32`.
- "O4kt8Max9/k0EmHaEJ0CGGYbBNFmK8kOZNIoUk3Kjwc"
- "x1T1VZR51pxrv5pQUyzooMG4pMUvHNMhA5y/3cUsYVs="
ssl:
thresholds:
- "1d": critical
- "5d": warning
# It's also possible to define the checks in another file
# with the include syntax:
#
# websites: !include websites.yaml
#
websites:
- domain: "https://mypads.framapad.org"
paths:
- path: "/mypads/"
checks:
- status-is: "200"
- body-contains: '<div id= "mypads"></div>'
- ssl-certificate-expiration: "on-check"
- path: "/admin/"
checks:
- status-is: "401"
- domain: "https://munin.framasoft.org"
paths:
- path: "/"
checks:
- status-is: "301"
- path: "/munin/"
checks:
- status-is: "401"
- domain: "https://framagenda.org"
paths:
- path: "/status.php"
checks:
- status-is: "200"
# Là, idéalement, il faudrait un json-contains,
# qui serait une table de hachage
- body-contains: '"maintenance":false'
- ssl-certificate-expiration: "on-check"
- path: "/"
checks:
- status-is: "302"
- path: "/login"
checks:
- status-is: "200"
- domain: "https://framadrive.org"
paths:
- path: "/status.php"
checks:
- status-is: "200"
- body-contains: '"maintenance":false'
- ssl-certificate-expiration: "on-check"
- path: "/"
checks:
- status-is: "302"
- path: "/login"
checks:
- status-is: "200"
- domain: "https://cloud.framabook.org"
paths:
- path: "/status.php"
checks:
- status-is: "200"
- body-contains: '"maintenance":false'
- ssl-certificate-expiration: "on-check"
- path: "/"
checks:
- status-is: "302"
- path: "/login"
checks:
- status-is: "200"
- domain: "https://framasoft.org"
paths:
- path: "/"
checks:
- status-is: "200"
- ssl-certificate-expiration: "on-check"