From 44c1536767b66993c500eb9c9c331ad02919dd6c Mon Sep 17 00:00:00 2001 From: Remi Broemeling Date: Tue, 23 Jul 2013 11:04:55 -0600 Subject: [PATCH] --memory= option does not exist; it is supposed to be --total_memory= --- check_redis.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_redis.pl b/check_redis.pl index d0548ee..1a500b4 100755 --- a/check_redis.pl +++ b/check_redis.pl @@ -81,7 +81,7 @@ # # Memory utilization is percent of real memory used by Redis out of total # memory on the system. To be able to calculate it plugin needs to known -# amount of memory your system has which you specify with "-M" or "--memory=" +# amount of memory your system has which you specify with "-M" or "--total_memory=" # option. Memory utilization option itself is lower "-m" or "--memory_utilization=" # and you can specify threshold for it as "-m warn,crit" # @@ -697,7 +697,7 @@ sub help { If you specify -m by itself, the plugin will just output this info, with '-f' it will also include this in performance data. You can also specify parameter values which are interpreted as WARNING and CRITICAL thresholds. - -M, --memory=NUM[B|K|M|G] + -M, --total_memory=NUM[B|K|M|G] Amount of memory on a system for memory utilization calculations above. If it does not end with K,M,G then its assumed to be B (bytes) -r, --replication_delay=WARN,CRIT