From 5b59140a29849f25d28f9d5249b25aba8e6c0618 Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Sun, 30 Oct 2022 01:05:16 +0200 Subject: [PATCH] Monitor OsteoView --- profiles/backend.nix | 3 +++ profiles/storage.nix | 3 +++ 2 files changed, 6 insertions(+) diff --git a/profiles/backend.nix b/profiles/backend.nix index c0aa5d7..e6b1589 100644 --- a/profiles/backend.nix +++ b/profiles/backend.nix @@ -57,6 +57,9 @@ status = 401 with timeout 20 seconds then alert + + check host osteoview with address osteoview.app + if failed port 443 protocol https with timeout 5 seconds then alert ''; }; diff --git a/profiles/storage.nix b/profiles/storage.nix index 7e7bffb..3926374 100644 --- a/profiles/storage.nix +++ b/profiles/storage.nix @@ -59,6 +59,9 @@ check program raid-md127 with path "${pkgs.mdadm}/bin/mdadm --misc --detail --test /dev/md127" if status != 0 then alert + + check host osteoview with address osteoview.app + if failed port 443 protocol https with timeout 5 seconds then alert ''; };