add monitoring

This commit is contained in:
ludo
2024-02-22 19:33:56 +01:00
parent 869b148e20
commit 722ea43bc2
61 changed files with 1666 additions and 3 deletions

View File

@@ -0,0 +1,17 @@
name: API Checker
abbreviation: apichecker
checker: PragmaRX\Health\Checkers\Https
notify: true
column_size: 3
timeout_message: "[TIMEOUT] A request to %s took %s seconds. Timeout is set to %s seconds."
connection_timeout: 5
roundtrip_timeout: 10
targets:
- default:
urls:
- https://api.whatever.com/v1.1/authorization/token:
method: POST
auth:
- "{{ config('services.whatever.api.username') }}"
- "{{ config('services.whatever.api.password') }}"
- basic