Files
no-secrets-athq-ansible/roles/monitoring-client/templates/monitoring.conf

11 lines
362 B
Plaintext

nobody disk /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 procs /usr/lib/nagios/plugins/check_procs
nobody systemd /etc/monitoring-tools/pynagsystemd.py
{% if checks %}
{% for entry in checks %}
{{ entry["user"] }} {{ entry["name"] }} {{ entry["cmd"] }}
{% endfor %}
{% endif %}