-{ 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";