-{ ... }:
+{ emailCheck, ... }:
{
host = {
"ulminfo.fr" = {
use = "linux-server";
hostgroups = "webstatus-hosts";
_webstatus_name = "ulminfo";
+ _webstatus_vhost = "status.immae.eu";
};
};
service = [
- {
- service_description = "ulminfo.fr email service is active";
- use = "external-passive-service";
- host_name = "ulminfo.fr";
- freshness_threshold = "1350";
- retry_interval = "1";
- servicegroups = "webstatus-email";
- }
+ (emailCheck "ulminfo" "ulminfo.fr")
];
}