X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fmonitoring%2Fobjects_monitoring-1.nix;h=10327b8a686430c31a6e094534ab5e7a6a9f50ae;hb=6191bdeb78947a3590b9c3cfeeacd9c9168367c4;hp=f69d3ffb37268c8039b17e155d3859e13eb74009;hpb=258441019881c451686dbe537069228cc8e49612;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 f69d3ff..10327b8 100644 --- a/modules/private/monitoring/objects_monitoring-1.nix +++ b/modules/private/monitoring/objects_monitoring-1.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, hostFQDN, emailCheck, ... }: { host = { # Dummy host for testing @@ -22,6 +22,8 @@ # check_command = "check_critical"; # } + (emailCheck "monitoring-1" hostFQDN) + { service_description = "ftp has access to database for authentication"; host_name = "eldiron.immae.eu"; @@ -77,6 +79,17 @@ _webstatus_url = "imap.immae.eu"; } + # Third party services + { + service_description = "OVH account has enough sms"; + host_name = "eldiron.immae.eu"; + use = "external-service"; + check_command = "check_ovh_sms"; + + check_interval = "120"; + notification_interval = "120"; + } + # Backup services { service_description = "Eriomem backup is up and not full";