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

14 lines
357 B
Plaintext

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 %}
{% if checks %}
{% for entry in checks %}
{{ entry["user"] }} {{ entry["name"] }} {{ entry["cmd"] }}
{% endfor %}
{% endif %}