ildkule/gatus/minecraft-checker: init

This commit is contained in:
h7x4
2026-07-07 16:26:26 +09:00
parent 111c3e21bd
commit b0e3d90c20
2 changed files with 88 additions and 0 deletions
@@ -3,6 +3,10 @@ let
cfg = config.services.gatus;
in
{
imports = [
./minecraft-checker.nix
];
services.gatus = {
enable = true;
@@ -123,6 +127,12 @@ in
(mkService "Gitea SSH" "ssh://git.pvv.ntnu.no:2222")
(mkService "QoTD" "tcp://bekkalokk.pvv.ntnu.no:17")
(mkService "Minecraft" "http://localhost:1337" // {
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")