From d6ada5a32ab7d126167b4427a4f206c016549c8f Mon Sep 17 00:00:00 2001 From: Tunui Franken Date: Sun, 23 Mar 2025 22:55:36 +0100 Subject: [PATCH] Check port 25 for mailserver locally as the port is blocked on lime2 --- .../templates/zones.d/master/services/mailserver.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/mailserver_monitoring/templates/zones.d/master/services/mailserver.conf.j2 b/roles/mailserver_monitoring/templates/zones.d/master/services/mailserver.conf.j2 index 23fc4cf..f7f16ff 100644 --- a/roles/mailserver_monitoring/templates/zones.d/master/services/mailserver.conf.j2 +++ b/roles/mailserver_monitoring/templates/zones.d/master/services/mailserver.conf.j2 @@ -3,6 +3,7 @@ apply Service "smtp" { import "generic-service" check_command = "smtp" + command_endpoint = host.name assign where host.name == "{{ inventory_hostname }}" }