Skip to content

Commit

Permalink
Adds tags to monitors
Browse files Browse the repository at this point in the history
  • Loading branch information
nkakouros committed Sep 18, 2020
1 parent 3465791 commit 6f87890
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions templates/beats/heartbeat.openvpn.monitors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
id: "{{ openvpn_monitor_icmp_id | d('openvpn_icmp') }}"
type: icmp
enabled: {{ openvpn_monitor_icmp_enabled | d(false) }}
tags:
- openvpn
- vpn
schedule: '@every 5s'
hosts:
- "{{ openvpn_host | d(inventory_hostname) }}"
Expand All @@ -18,6 +21,9 @@
# config.
- name: OpenVPN service running
id: "{{ openvpn_monitor_mgmt_with_pass_id | d('openvpn_mgmt_with_pass') }}"
tags:
- openvpn
- vpn
type: tcp
enabled: {{ openvpn_monitor_mgmt_with_pass_enabled | d(false) }}
schedule: '@every 5s'
Expand All @@ -32,6 +38,9 @@

- name: OpenVPN service running
id: "{{ openvpn_monitor_mgmt_id | d('openvpn_mgmt') }}"
tags:
- openvpn
- vpn
type: tcp
enabled: {{ openvpn_monitor_mgmt_enabled | d(false) }}
schedule: '@every 5s'
Expand Down

0 comments on commit 6f87890

Please sign in to comment.