Project

General

Profile

Statistics
| Branch: | Revision:

duckcorp-infra / ansible / group_vars / all / monitoring.yml @ 2dbd6575

History | View | Annotate | Download (1001 Bytes)

1
---
2
monitoring_gen:
3
  host_groups:
4
    'GNU/Linux servers':
5
  templates_extra:
6
    'Template ICMP Ping':
7
  templates_exclude: {}
8
monitoring:
9
  tls:
10
    ca_path: "{{ pki.path }}/ca/duckcorp-monitoring.crt"
11
    issuer_check: "EMAIL=admin@duckcorp.org,CN=DuckCorp Monitoring CA,OU=DuckCorp Monitoring Department,O=DuckCorp,L=DuckCity,ST=DuckLand,C=DL"
12
  agent:
13
    monitored_by: "sup-poller.duckcorp.org"
14
    sending_to: "{{ hostvars[inventory_hostname].monitoring.agent.monitored_by }}:10051"
15
    tls:
16
      cert_path: "{{ pki.path }}/server/duckcorp-monitoring_zabbix_agent_{{ inventory_hostname | lower }}.crt"
17
      key_path: "{{ pki.path }}/server/duckcorp-monitoring_zabbix_agent_{{ inventory_hostname | lower }}.key"
18
    register:
19
      api_url: https://sup.duckcorp.org/
20
      host_groups: "{{ monitoring_gen.host_groups.keys() | list }}"
21
      templates_extra: "{{ monitoring_gen.templates_extra.keys() | list }}"
22
      templates_exclude: "{{ monitoring_gen.templates_exclude.keys() | list }}"
23