[Pkg-nagios-changes] [SCM] Debian packaging for mod gearman. branch, master, updated. debian/1.0.3-1-28-ga8ba0c2
Sven Nierlein
sven at nierlein.de
Fri May 20 10:21:03 UTC 2011
The following commit has been merged in the master branch:
commit 752cea6a278891e420e17c12387ae26ba0dcce09
Author: Sven Nierlein <sven at nierlein.de>
Date: Mon Apr 18 11:06:19 2011 +0200
check_gearman: print better defaults in help
diff --git a/tools/check_gearman.c b/tools/check_gearman.c
index 6b79f22..ce04c7e 100644
--- a/tools/check_gearman.c
+++ b/tools/check_gearman.c
@@ -133,10 +133,10 @@ void print_usage() {
printf("\n");
printf("check_gearman [ -H=<hostname> ]\n");
printf(" [ -t=<timeout> ]\n");
- printf(" [ -w=<jobs warning level> ] default: 10\n");
- printf(" [ -c=<jobs critical level> ] default: 100\n");
- printf(" [ -W=<worker warning level> ] default: 25\n");
- printf(" [ -C=<worker critical level> ] default: 50\n");
+ printf(" [ -w=<jobs warning level> ] default: %i\n", opt_job_warning);
+ printf(" [ -c=<jobs critical level> ] default: %i\n", opt_job_critical);
+ printf(" [ -W=<worker warning level> ] default: %i\n", opt_worker_warning);
+ printf(" [ -C=<worker critical level> ] default: %i\n", opt_worker_critical);
printf(" [ -q=<queue> ]\n");
printf("\n");
printf("\n");
--
Debian packaging for mod gearman.
More information about the Pkg-nagios-changes
mailing list