mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
42 lines
971 B
YAML
42 lines
971 B
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`.
|
|
|
|
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.example.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.example.org"
|
|
paths:
|
|
- path: "/"
|
|
checks:
|
|
- status-is: 301
|
|
- path: "/munin/"
|
|
checks:
|
|
- status-is: 401
|