mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
- Instead, propose a `config-example.yaml` file - Change the README accordingly
44 lines
No EOL
1.1 KiB
YAML
44 lines
No EOL
1.1 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 |