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

Monitor port 19999 to make sure it's closed

parent 1e73c0ad
No related branches found
No related tags found
No related merge requests found
Pipeline #1341299 passed
......@@ -10,6 +10,14 @@
hosts:
- {{ hostvars[host]['static_ipv4'] }}
closed: {{ (host in groups.mailserver|default([])) | ternary('False', 'True') }}
- type: port19999
schedule: '*/5 * * * * * *'
tags:
- '{{ lookup("env","ANSIBLE_COMPANY") }}'
name: 'Blocked port 19999 on {{ host }}'
hosts:
- {{ hostvars[host]['static_ipv4'] }}
closed: '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