X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fmonitoring%2Fobjects_monitoring-1.nix;h=32dbe4b9cd758b340f3bd13903cd587a4fd606ab;hb=acab8301f6a0a76d97b36d009a60d4172bf62981;hp=94b676bd701cc09bb5517060446c5b8be2898204;hpb=5b42284e2039d8550ab3c38ab3abcfdaa096e238;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/monitoring/objects_monitoring-1.nix b/modules/private/monitoring/objects_monitoring-1.nix index 94b676b..32dbe4b 100644 --- a/modules/private/monitoring/objects_monitoring-1.nix +++ b/modules/private/monitoring/objects_monitoring-1.nix @@ -22,6 +22,7 @@ let }) profile.remotes; in { + activatedPlugins = [ "dns" "ftp" "git" "http" "imap" "ovh" "tcp" ]; host = { # Dummy host for testing # "dummy-host" = { @@ -113,17 +114,17 @@ in } # Backup services - { - service_description = "eriomem backup is up and not full"; - host_name = "eldiron.immae.eu"; - use = "external-service"; - check_command = "check_backup_eriomem"; + # { + # service_description = "eriomem backup is up and not full"; + # host_name = "eldiron.immae.eu"; + # use = "external-service"; + # check_command = "check_backup_eriomem"; - check_interval = "120"; - notification_interval = "1440"; + # check_interval = "120"; + # notification_interval = "1440"; - servicegroups = "webstatus-backup"; - } + # servicegroups = "webstatus-backup"; + # } { service_description = "ovh backup is up and not full"; host_name = "eldiron.immae.eu"; @@ -495,7 +496,7 @@ in service_description = "gitweb website is running on git.immae.eu"; host_name = "eldiron.immae.eu"; use = "external-web-service"; - check_command = ["check_https" "git.immae.eu" "/" "git web interface"]; + check_command = ["check_https" "git.immae.eu" "/cgit" "Immae’s git"]; servicegroups = "webstatus-webapps"; _webstatus_name = "Git"; @@ -695,6 +696,16 @@ in use = "external-web-service"; contact_groups = "tiboqorl"; check_command = [ "check_https" "sc.groupe-cyllene.com" "/" "<title>Support Client Cyllene" ]; + _webstatus_namespace = "tiboqorl"; + } + + { + service_description = "Origny page is running"; + host_name = "tiboqorl.fr"; + use = "external-web-service"; + contact_groups = "tiboqorl"; + check_command = [ "check_https" "origny.tiboqorl.fr" "/" "<title>Home Assistant" ]; + _webstatus_namespace = "tiboqorl"; } ] ++ to_resource to_backup_age nodes.eldiron.config.services.duplyBackup; contact = {