ildkule/gatus: add healthcheck for mariadb

This commit is contained in:
h7x4
2026-07-21 16:15:05 +09:00
parent a99a83c0d8
commit 3d551fab52
2 changed files with 86 additions and 0 deletions
@@ -6,6 +6,7 @@ in
imports = [
./minecraft-checker.nix
./postgres-checker.nix
./mariadb-checker.nix
];
services.gatus = {
@@ -140,6 +141,12 @@ in
"[BODY].ok == true"
];
})
(mkService "MariaDB" "http://localhost:1339" // {
conditions = [
"[STATUS] == 200"
"[BODY].ok == true"
];
})
(mkService "Email (SMTP)" "starttls://mail.pvv.ntnu.no:587")
(mkService "Email (POP3)" "tls://mail.pvv.ntnu.no:995")
(mkService "Email (IMAP)" "tls://mail.pvv.ntnu.no:993")