summaryrefslogtreecommitdiff
path: root/flora
diff options
context:
space:
mode:
Diffstat (limited to 'flora')
-rw-r--r--flora/services/monit.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/flora/services/monit.nix b/flora/services/monit.nix
index 72d6837..e9544e1 100644
--- a/flora/services/monit.nix
+++ b/flora/services/monit.nix
@@ -53,9 +53,21 @@
if failed port 443 with protocol https
then alert
- check program system path ${pkgs.systemd}/bin/systemctl is-system-running
+ check program is-system-running path ${pkgs.systemd}/bin/systemctl is-system-running
if status != 0 then alert
+ check host hacc-uffd with address login.infra4future.de
+ if failed port 443 with protocol https
+ then alert
+
+ check host hacc-onlyoffice with address onlyoffice.infra4future.de
+ if failed port 443 with protocol https and status 302
+ then alert
+
+ check host hacc-mattermost with address mattermost.infra4future.de
+ if failed port 443 with protocol https
+ then alert
+
set mail-format {
subject: $SERVICE: $EVENT
message: Action: $ACTION $SERVICE: $DESCRIPTION.