diff --git a/CHANGELOG b/CHANGELOG index 22812ed..51d1a0a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -60,6 +60,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * bgp, collectd, logsentry, ospf: update scripts * collectd: improve dns_stats.sh script for more metrics * ospf: do not repeat use of command, use variable instead with output of command +* nagios-nrpe: changed check_load to make it more relevant ### Fixed diff --git a/roles/nagios-nrpe/templates/evolix_bsd.cfg.j2 b/roles/nagios-nrpe/templates/evolix_bsd.cfg.j2 index 8de8aa0..5ab5e6b 100644 --- a/roles/nagios-nrpe/templates/evolix_bsd.cfg.j2 +++ b/roles/nagios-nrpe/templates/evolix_bsd.cfg.j2 @@ -1,6 +1,6 @@ # 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_load]=/usr/local/libexec/nagios/check_load --percpu --warning=0.7,0.6,0.5 --critical=0.9,0.8,0.7 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