Add kuma-checks.yaml
This commit is contained in:
parent
cb0913676d
commit
858e4b5a8f
1 changed files with 29 additions and 0 deletions
29
kuma-checks.yaml
Normal file
29
kuma-checks.yaml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
checks:
|
||||||
|
# 1) Native "I'm alive" heartbeat for this VM
|
||||||
|
- name: self_alive
|
||||||
|
type: native
|
||||||
|
push: xxxxxxxxxxxxxxxxxx # Kuma push token
|
||||||
|
|
||||||
|
# 2) HTTP health endpoint
|
||||||
|
- name: web_frontend
|
||||||
|
type: http
|
||||||
|
target: http://localhost:8080/health
|
||||||
|
push: xxxxxxxxxxxxxxxxxx
|
||||||
|
|
||||||
|
# 3) Systemd unit running?
|
||||||
|
- name: api_service
|
||||||
|
type: service
|
||||||
|
target: my-api.service
|
||||||
|
push: xxxxxxxxxxxxxxxxxx
|
||||||
|
|
||||||
|
# 4) Docker container running?
|
||||||
|
- name: redis_container
|
||||||
|
type: docker
|
||||||
|
target: redis # container name or ID
|
||||||
|
push: xxxxxxxxxxxxxxxxxx
|
||||||
|
|
||||||
|
# 5) NFS mount present?
|
||||||
|
- name: media_nfs
|
||||||
|
type: mount
|
||||||
|
target: /mnt/media
|
||||||
|
push: xxxxxxxxxxxxxxxxxx
|
Loading…
Add table
Add a link
Reference in a new issue