From: Ismaƫl Bouya Date: Sun, 5 Jan 2020 17:01:31 +0000 (+0100) Subject: Remove some hosts from public status page X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=commitdiff_plain;h=bd80cd4ff254d18df8cd93300587c265bfec2530 Remove some hosts from public status page --- diff --git a/modules/private/monitoring/objects_caldance-1.nix b/modules/private/monitoring/objects_caldance-1.nix index 2879124..d5b2d8d 100644 --- a/modules/private/monitoring/objects_caldance-1.nix +++ b/modules/private/monitoring/objects_caldance-1.nix @@ -13,45 +13,36 @@ in alias = "caldance-1.v.immae.eu"; address = "caldance-1.v.immae.eu"; use = "linux-server"; - hostgroups = "webstatus-hosts"; - _webstatus_name = "caldance-1"; }; }; service = map (s: defaultPassiveInfo // s) [ { service_description = "Size on root partition"; - servicegroups = "webstatus-resources"; } { service_description = "Total number of process"; - servicegroups = "webstatus-resources"; } { service_description = "Average load"; - servicegroups = "webstatus-resources"; } { service_description = "Swap usage"; - servicegroups = "webstatus-resources"; } { service_description = "fail2ban is active"; - servicegroups = "webstatus-resources"; } { service_description = "NTP is activated and working"; - servicegroups = "webstatus-resources"; freshness_threshold = "5400"; } { service_description = "Databases are present in postgresql"; - servicegroups = "webstatus-databases"; } ]; } diff --git a/modules/private/monitoring/objects_tiboqorl-fr.nix b/modules/private/monitoring/objects_tiboqorl-fr.nix index 847143e..1cc6ea0 100644 --- a/modules/private/monitoring/objects_tiboqorl-fr.nix +++ b/modules/private/monitoring/objects_tiboqorl-fr.nix @@ -5,8 +5,6 @@ alias = "tiboqorl.fr"; address = "tiboqorl.fr"; use = "linux-server"; - hostgroups = "webstatus-hosts"; - _webstatus_name = "tiboqorl"; }; }; }