nagios-nrpe: check_disk1 returns only alerts

This commit is contained in:
Jérémy Dubois 2022-08-05 09:44:11 +02:00
parent 891513d633
commit 24180c31e4
2 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- etc-git: chmod 600 for local periodic files (daily, weekly, monthly)
- base: loop over fstab entries instead of copying the same task for each entries
- etc-git: do not erase custom entries of servers in .gitignore files
- nagios-nrpe: check_disk1 returns only alerts
### Fixed

View File

@ -11,7 +11,7 @@ allowed_hosts={{ nagios_nrpe_allowed_hosts | join(',') }}
# System checks
command[check_users]=/usr/local/libexec/nagios/check_users -w 5 -c 10
command[check_load]=/usr/local/libexec/nagios/check_load -w 15,10,5 -c 30,25,20
command[check_disk1]=/usr/local/libexec/nagios/check_disk -x /lib/init/rw -x /dev -x /dev/shm -w 10% -c 3% -W 10% -K 3% -C -w 5% -c 2% -W 5% -K 2% -p /home
command[check_disk1]=/usr/local/libexec/nagios/check_disk -e -w 10% -c 3% -W 10% -K 3% -C -w 5% -c 2% -W 5% -K 2% -p /home -x dev
command[check_zombie_procs]=/usr/local/libexec/nagios/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/libexec/nagios/check_procs -w 150 -c 200
command[check_swap]=/usr/local/libexec/nagios/check_swap --no-swap=ok -a -w 30% -c 20%