ildkule/gatus/minecraft-checker: init

This commit is contained in:
h7x4
2026-07-06 06:32:21 +09:00
parent 819497b485
commit 830e0a842a
2 changed files with 89 additions and 0 deletions
@@ -3,6 +3,10 @@ let
cfg = config.services.gatus;
in
{
imports = [
./minecraft-checker.nix
];
services.gatus = {
enable = true;
@@ -121,6 +125,12 @@ in
(mkService "Gitea SSH" "ssh://git.pvv.ntnu.no:2222")
(mkService "QoTD" "tcp://bekkalokk.pvv.ntnu.no:17")
(mkService "Minecraft" "http://localhost:25565" // {
conditions = [
"[STATUS] == 200"
"[BODY].ok == true"
];
})
(mkService "Email (SMTP)" "tcp://mail.pvv.ntnu.no:587")
(mkService "Email (POP3)" "tcp://mail.pvv.ntnu.no:995")
(mkService "Email (IMAP)" "tcp://mail.pvv.ntnu.no:993")