-{ config, pkgs, ... }:
+{ config, pkgs, hostFQDN, emailCheck, ... }:
{
host = {
# Dummy host for testing
# check_command = "check_critical";
# }
+ (emailCheck "monitoring-1" hostFQDN)
+
{
service_description = "ftp has access to database for authentication";
host_name = "eldiron.immae.eu";
_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";
+ host_name = "eldiron.immae.eu";
+ use = "external-service";
+ check_command = "check_eriomem";
+
+ check_interval = "120";
+ notification_interval = "120";
+
+ servicegroups = "webstatus-backup";
+ }
+
# DNS services
{
service_description = "eldiron dns is active and authoritative for aten.pro";
service_description = "Telio website is running on realistesmedia.fr";
host_name = "eldiron.immae.eu";
use = "external-web-service";
- check_command = ["check_https" "realistesmedia.fr" "/" "<title>RĂ©al'istes"];
+ check_command = ["check_https" "realistesmedia.fr" "/" "doctype html"];
contact_groups = "telio-tortay";
}