X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fmonitoring%2Fobjects_eban.nix;h=df54f6a5223f8caf3183cee46b60ece1b5d19ad9;hb=fa25ffd4583cc362075cd5e1b4130f33306103f0;hp=659b0ec5eca7c0730e2f9e7b1ef74cec72cdedae;hpb=2edbb2d889bd9d1787bc1745a75c1b6969d148ab;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/monitoring/objects_eban.nix b/modules/private/monitoring/objects_eban.nix index 659b0ec..df54f6a 100644 --- a/modules/private/monitoring/objects_eban.nix +++ b/modules/private/monitoring/objects_eban.nix @@ -8,9 +8,11 @@ let check_interval = "15"; servicegroups = "webstatus-resources"; + _webstatus_namespace = "eban"; } // rest; in { + activatedPlugins = [ "http" ]; contact = { eban = { use = "generic-contact"; @@ -28,6 +30,7 @@ in contact_groups = "null"; _webstatus_name = "Eban"; _webstatus_vhost = "status.eban.bzh"; + _webstatus_namespace = "eban"; }; }; service = [ @@ -50,11 +53,18 @@ in _webstatus_url = "https://git.eban.bzh/"; }) (serviceTemplate { - service_description = "Eban Cloud is up and running"; - check_command = ["check_https" "cloud.eban.bzh" "/" ""]; + service_description = "I Learned website is up and running"; + check_command = [ "check_https" "ilearned.eu.org" "/" "<title" ]; - _webstatus_name = "Cloud"; - _webstatus_url = "https://cloud.eban.bzh/"; + _webstatus_name = "I Learned website"; + _webstatus_url = "https://ilearned.eu.org/"; + }) + (serviceTemplate { + service_description = "I Learned gitea is up and running"; + check_command = [ "check_https" "git.ilearned.eu.org" "/" "<title" ]; + + _webstatus_name = "I Learned Git"; + _webstatus_url = "https://git.ilearned.eu.org/"; }) ]; }