mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-09 15:08:33 +01:00
fix: various monitoring related fixes
This commit is contained in:
@@ -1,2 +1,4 @@
|
|||||||
---
|
---
|
||||||
checks:
|
checks:
|
||||||
|
nsca_server: 192.168.122.107
|
||||||
|
nsca_password: HISTORY_PURGED_SECRET
|
||||||
|
|||||||
@@ -60,3 +60,8 @@
|
|||||||
dest: /etc/monitoring.conf
|
dest: /etc/monitoring.conf
|
||||||
owner: root
|
owner: root
|
||||||
mode: 644
|
mode: 644
|
||||||
|
|
||||||
|
- name: Add monitoring report cronjob
|
||||||
|
cron:
|
||||||
|
name: "monitoring"
|
||||||
|
job: "/etc/monitoring/monitoring-report.py -c /etc/monitoring.conf --nsca-bin /bin/send_nsca --nsca-config /etc/send_nsca.cfg"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
nobody disk /usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p /
|
nobody disk-remote /usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p /
|
||||||
nobody load /usr/lib/nagios/plugins/check_load -w 5,3,2 -c 10,6,4
|
nobody load-remote /usr/lib/nagios/plugins/check_load -w 5,3,2 -c 10,6,4
|
||||||
nobody procs /usr/lib/nagios/plugins/check_procs
|
nobody procs-remote /usr/lib/nagios/plugins/check_procs
|
||||||
nobody systemd /etc/monitoring-tools/pynagsystemd.py
|
nobody systemd /etc/monitoring-tools/pynagsystemd.py
|
||||||
|
|
||||||
{% if checks %}
|
{% if checks %}
|
||||||
{% for entry in checks %}
|
{% for entry in checks %}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
identity = {{ nsca_identity }}
|
identity = {{ group_names[0] }}
|
||||||
password = {{ nsca_password }}
|
password = {{ nsca_password }}
|
||||||
server = {{ nsca_server }}
|
server = {{ nsca_server }}
|
||||||
port = {{ nsca_server_port }}
|
port = 5668
|
||||||
tls_ciphers = "PSK-AES256-CBC-SHA"
|
tls_ciphers = "PSK-AES256-CBC-SHA"
|
||||||
|
|||||||
Reference in New Issue
Block a user