From 858e4b5a8fd99bae9dd251e89995d890ad054cca Mon Sep 17 00:00:00 2001 From: wagesj45 Date: Fri, 1 Aug 2025 01:36:55 -0500 Subject: [PATCH] Add kuma-checks.yaml --- kuma-checks.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 kuma-checks.yaml diff --git a/kuma-checks.yaml b/kuma-checks.yaml new file mode 100644 index 0000000..ba4feb6 --- /dev/null +++ b/kuma-checks.yaml @@ -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