All pastes #2115412 Raw Edit

Unnamed

public text v1 · immutable
#2115412 ·published 2012-02-09 19:15 UTC
rendered paste body
Usage: check_memcached -H <host> [-p <port>] [-i|-I]
       [-w <warning>] [-c <critical>] [-W <ratio_warn>] [-C <ratio_crit>]
       [-e <slab_warn>] [-E <slab_crit> [-d <time_warning>] [-D <time_critical>]

Options:
  -H STRING
    Host to connect to.
  -p INTEGER
    Port to connect to (default: 11211).
  -i
    Ignore evictions of keys which do not expire.
  -I
    Ignore evictions of keys which have an expiration time. It's unlikely one
    would want this except to complement monitoring of expiring keys (-i)
  -w DOUBLE
    Warning threshold for evictions per minute.
  -c DOUBLE
    Critical threshold for evictions per minute.
  -W DOUBLE
    Warning threshold for hit ratio (percent, higher is better).
  -C DOUBLE
    Critical threshold for hit ratio (percent, higher is better).
  -e DOUBLE
    Warning threshold for per-slab evictions per minute.
  -E DOUBLE
    Critical threshold for per-slab evictions per minute.
  -d INTEGER
    Warning threshold for per-slab eviction time in seconds.
  -D DOUBLE
    Critical threshold for per-slab eviction time in seconds.
  -h
    This help message
  -v
    Print debug messages (can be repeated up to three times)

Notes:
  - If one of '-d' or '-D' is set, the per-slab thresholds ('-e' and '-E')
    will be triggered only up to the evicition time thresholds. No alerts will
    be sent for evictions are for keys older than the defined thresholds.
  - The '-i' and '-I' switches are mutually exclusive. The default is to
    consider all evictions.