Przeglądaj źródła

sample configuration for check_load has crazy sample load avg

Fix for issue http://tracker.nagios.org/view.php?id=14
John C. Frickson 10 lat temu
rodzic
commit
fd4703d504
2 zmienionych plików z 2 dodań i 1 usunięć
  1. 1 0
      Changelog
  2. 1 1
      sample-config/nrpe.cfg.in

+ 1 - 0
Changelog

@@ -26,6 +26,7 @@ FIXES
 - NRPE returns OK if check can't be executed (Andrew Widdersheim)
 - nrpe 2.15 [regression in Added SRC support on AIX - 2.14] (frphoebus)
 - compile nrpe - Solaris 9 doesn't have isblank() (lilo, John Frickson)
+- sample configuration for check_load has crazy sample load avg (ernestoongaro)
 
 
 

+ 1 - 1
sample-config/nrpe.cfg.in

@@ -285,7 +285,7 @@ connection_timeout=300
 # The following examples use hardcoded command arguments...
 
 command[check_users]=@libexecdir@/check_users -w 5 -c 10
-command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20
+command[check_load]=@libexecdir@/check_load -w .75,.5,.25 -c 1.5,1.25,1
 command[check_hda1]=@libexecdir@/check_disk -w 20% -c 10% -p /dev/hda1
 command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z
 command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200