Bladeren bron

Fix for check_disk thresholds in sample config

Ethan Galstad 19 jaren geleden
bovenliggende
commit
be0e8ab4c5
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 1 0
      Changelog
  2. 1 1
      sample-config/nrpe.cfg.in

+ 1 - 0
Changelog

@@ -6,6 +6,7 @@ NRPE Changelog
 2.x - ??/??/2007
 2.x - ??/??/2007
 ----------------
 ----------------
 - Fixed bug with --with-nrpe-group configure script option (Graham Collinson)
 - Fixed bug with --with-nrpe-group configure script option (Graham Collinson)
+- Fixed bug with check_disk thresholds in sample config file (Patric Wust)
 
 
 
 
 
 

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

@@ -191,7 +191,7 @@ connection_timeout=300
 
 
 command[check_users]=@libexecdir@/check_users -w 5 -c 10
 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 15,10,5 -c 30,25,20
-command[check_hda1]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hda1
+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_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z
 command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200 
 command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200