Store check_disk exclude in variable
This commit is contained in:
parent
c0dec80308
commit
34f5103fac
@ -1,2 +1,3 @@
|
||||
---
|
||||
nagios_extra_groups: []
|
||||
nrpe_check_disk_exclude: []
|
||||
|
@ -292,7 +292,7 @@ ssl_cacert_file=/etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10
|
||||
command[check_load]=/usr/lib/nagios/plugins/check_load -r -w 7,3.5,3 -c 8,4,3.5
|
||||
command[check_disks]=/usr/lib/nagios/plugins/check_disk -w 16% -c 9% -A -i /var/lib/docker/overlay2 -i /var/lib/docker/containers -i /run/docker/{% if inventory_hostname == 'geb.ra.nemunai.re' %} -i /media/musik{% endif %}
|
||||
command[check_disks]=/usr/lib/nagios/plugins/check_disk -w 16% -c 9% -A{% for nrpe_exclude in nrpe_check_disk_exclude %} -i {{ nrpe_exclude }}{% endfor %}
|
||||
|
||||
command[check_hda1]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1
|
||||
command[check_zombie_procs]=/usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z
|
||||
|
Loading…
x
Reference in New Issue
Block a user