bundles/sshmon: fix disk space usage limits
This commit is contained in:
parent
8f0f635484
commit
39c1d34bbb
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ def default_checks(metadata):
|
||||||
'DISK SPACE': {
|
'DISK SPACE': {
|
||||||
'command_on_monitored_host': str(
|
'command_on_monitored_host': str(
|
||||||
'/usr/lib/nagios/plugins/check_disk -X nfs -X nfs4 -X squashfs '
|
'/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}% -c {disk_space_critical}% '
|
||||||
f'-W {disk_space_warning_inodes} -K {disk_space_critical_inodes} '
|
f'-W {disk_space_warning_inodes}% -K {disk_space_critical_inodes}% '
|
||||||
'-A -I "^/dev$" -I "^/run" -I "^/sys" -i "/sys/kernel/debug/tracing" '
|
'-A -I "^/dev$" -I "^/run" -I "^/sys" -i "/sys/kernel/debug/tracing" '
|
||||||
f'{disk_space_ignore_patterns_string}',
|
f'{disk_space_ignore_patterns_string}',
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue