mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 04:28:33 +01:00
inital: hypervisor ansible
This commit is contained in:
11
roles/monitoring-client/templates/monitoring.conf
Normal file
11
roles/monitoring-client/templates/monitoring.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
nobody disk /usr/lib/nagios/plugins/check_disk
|
||||
nobody load /usr/lib/nagios/plugins/check_log
|
||||
nobody systemd /etc/monitoring-tools/pynagsystemd.py
|
||||
|
||||
{% if has_postgres %}
|
||||
nobody load /usr/lib/nagios/plugins/check_psql
|
||||
{% endif }
|
||||
|
||||
{% for entry in checks %}
|
||||
{{ entry["user"] }} {{ entry["name"] }} {{ entry["command"] }}
|
||||
{% endfor %}
|
||||
5
roles/monitoring-client/templates/send_nsca.cfg
Normal file
5
roles/monitoring-client/templates/send_nsca.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
identity = {{ nsca_identity }}
|
||||
password = {{ nsca_password }}
|
||||
server = {{ nsca_server }}
|
||||
port = {{ nsca_server_port }}
|
||||
tls_ciphers = "PSK-AES256-CBC-SHA"
|
||||
Reference in New Issue
Block a user