Skip to content
Snippets Groups Projects
Commit e03caaa1 authored by jurgenhaas's avatar jurgenhaas
Browse files

Check for open port 25 on mailservers

parent 356570a4
No related branches found
No related tags found
No related merge requests found
Pipeline #1277567 passed
......@@ -9,6 +9,7 @@
name: 'Blocked port 25 on {{ host }}'
hosts:
- {{ hostvars[host]['static_ipv4'] }}
closed: {{ (host in groups.mailserver|default([])) | ternary('False', 'True') }}
{% if hostvars[host]['icmp_monitoring']|default(true) %}
- type: icmp
schedule: '*/5 * * * * * *'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment