diff --git a/roles/monitoring-client/templates/monitoring.conf b/roles/monitoring-client/templates/monitoring.conf index d0e0b98..5f06b0a 100644 --- a/roles/monitoring-client/templates/monitoring.conf +++ b/roles/monitoring-client/templates/monitoring.conf @@ -1,11 +1,8 @@ -nobody disk /usr/lib/nagios/plugins/check_disk -nobody load /usr/lib/nagios/plugins/check_log +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 has_postgres %} -nobody load /usr/lib/nagios/plugins/check_psql -{% endif %} - {% if checks %} {% for entry in checks %} {{ entry["user"] }} {{ entry["name"] }} {{ entry["cmd"] }}