bundles/sshmon: fix disk space usage limits

This commit is contained in:
Franzi 2021-03-27 12:07:49 +01:00
parent 8f0f635484
commit 39c1d34bbb
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -82,8 +82,8 @@ def default_checks(metadata):
'DISK SPACE': {
'command_on_monitored_host': str(
'/usr/lib/nagios/plugins/check_disk -X nfs -X nfs4 -X squashfs '
f'-w {disk_space_warning} -c {disk_space_critical} '
f'-W {disk_space_warning_inodes} -K {disk_space_critical_inodes} '
f'-w {disk_space_warning}% -c {disk_space_critical}% '
f'-W {disk_space_warning_inodes}% -K {disk_space_critical_inodes}% '
'-A -I "^/dev$" -I "^/run" -I "^/sys" -i "/sys/kernel/debug/tracing" '
f'{disk_space_ignore_patterns_string}',
),