{ ... }: let serviceTemplate = rest: { host_name = "eban.bzh"; use = "external-web-service"; contacts = "eban"; contact_groups = "null"; check_interval = "15"; servicegroups = "webstatus-resources"; } // rest; in { contact = { eban = { use = "generic-contact"; host_notification_commands = "notify-host-eban-url"; service_notification_commands = "notify-service-eban-url"; }; }; host = { "eban.bzh" = { alias = "eban.bzh"; address = "eban.bzh"; use = "linux-server"; hostgroups = "webstatus-hosts"; contacts = "eban"; contact_groups = "null"; _webstatus_name = "Eban"; _webstatus_vhost = "status.eban.bzh"; }; }; service = [ (serviceTemplate { service_description = "Eban website is up and running"; check_command = ["check_https" "eban.bzh" "/" "