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

ansible-inventories/arocom#3229 Add port 25 to monitoring

parent 83e0137f
No related branches found
No related tags found
No related merge requests found
Pipeline #1273929 passed
......@@ -2,6 +2,13 @@
{% if lookup("env","ANSIBLE_COMPANY") != 'local' %}
{% for host in groups.all %}
- type: port25
schedule: '*/5 * * * * * *'
tags:
- '{{ lookup("env","ANSIBLE_COMPANY") }}'
name: 'Blocked port 25 on {{ host }}'
hosts:
- {{ hostvars[host]['static_ipv4'] }}
{% 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