Permalink
Browse files

--memory= option does not exist; it is supposed to be --total_memory=

  • Loading branch information...
1 parent 05e21e4 commit 44c1536767b66993c500eb9c9c331ad02919dd6c @rbroemeling rbroemeling committed Jul 23, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 check_redis.pl
View
@@ -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

0 comments on commit 44c1536

Please sign in to comment.