| 1 |
modules { |
| 2 |
module { |
| 3 |
name = "memcached" |
| 4 |
language = "python" |
| 5 |
|
| 6 |
param host { |
| 7 |
value = "localhost" |
| 8 |
} |
| 9 |
param port { |
| 10 |
value = 11211 |
| 11 |
} |
| 12 |
param type { |
| 13 |
value = "memcached" |
| 14 |
} |
| 15 |
|
| 16 |
param refresh_rate { |
| 17 |
value = 15 |
| 18 |
} |
| 19 |
|
| 20 |
# param metrix_prefix { |
| 21 |
# value = "mc" |
| 22 |
# } |
| 23 |
# param spoof_host { |
| 24 |
# value = "__IPADDRESS__:__HOSTNAME__" |
| 25 |
# } |
| 26 |
} |
| 27 |
} |
| 28 |
|
| 29 |
collection_group { |
| 30 |
collect_every = 20 |
| 31 |
time_threshold = 90 |
| 32 |
|
| 33 |
metric { |
| 34 |
name = "mc_curr_items" |
| 35 |
title = "Current number of items stored" |
| 36 |
value_threshold = 0 |
| 37 |
} |
| 38 |
metric { |
| 39 |
name = "mc_cmd_get" |
| 40 |
title = "Cumulative number of retrieval reqs" |
| 41 |
value_threshold = 0 |
| 42 |
} |
| 43 |
metric { |
| 44 |
name = "mc_cmd_set" |
| 45 |
title = "Cumulative number of storage reqs" |
| 46 |
value_threshold = 0 |
| 47 |
} |
| 48 |
metric { |
| 49 |
name = "mc_cmd_get_rate" |
| 50 |
title = "Retrieval reqs/sec" |
| 51 |
value_threshold = 0 |
| 52 |
} |
| 53 |
metric { |
| 54 |
name = "mc_cmd_set_rate" |
| 55 |
title = "Storage reqs/sec" |
| 56 |
value_threshold = 0 |
| 57 |
} |
| 58 |
metric { |
| 59 |
name = "mc_bytes_read" |
| 60 |
title = "Total number of bytes read by this server from network" |
| 61 |
value_threshold = 0 |
| 62 |
} |
| 63 |
metric { |
| 64 |
name = "mc_bytes_written" |
| 65 |
title = "Total number of bytes sent by this server to network" |
| 66 |
value_threshold = 0 |
| 67 |
} |
| 68 |
metric { |
| 69 |
name = "mc_bytes" |
| 70 |
title = "Current number of bytes used to store items" |
| 71 |
value_threshold = 0 |
| 72 |
} |
| 73 |
metric { |
| 74 |
name = "mc_limit_maxbytes" |
| 75 |
title = "Number of bytes this server is allowed to use for storage" |
| 76 |
value_threshold = 0 |
| 77 |
} |
| 78 |
metric { |
| 79 |
name = "mc_curr_connections" |
| 80 |
title = "Number of open connections" |
| 81 |
value_threshold = 0 |
| 82 |
} |
| 83 |
metric { |
| 84 |
name = "mc_evictions" |
| 85 |
title = "Number of valid items removed from cache to free memory for new items" |
| 86 |
value_threshold = 0 |
| 87 |
} |
| 88 |
metric { |
| 89 |
name = "mc_evictions_rate" |
| 90 |
title = "Rate of valid items removed from cache to free memory for new items" |
| 91 |
value_threshold = 0 |
| 92 |
} |
| 93 |
metric { |
| 94 |
name = "mc_get_hits" |
| 95 |
title = "Number of keys that have been requested and found present " |
| 96 |
value_threshold = 0 |
| 97 |
} |
| 98 |
metric { |
| 99 |
name = "mc_get_misses" |
| 100 |
title = "Number of items that have been requested and not found" |
| 101 |
value_threshold = 0 |
| 102 |
} |
| 103 |
metric { |
| 104 |
name = "mc_get_hits_rate" |
| 105 |
title = "Hits/sec" |
| 106 |
value_threshold = 0 |
| 107 |
} |
| 108 |
metric { |
| 109 |
name = "mc_get_misses_rate" |
| 110 |
title = "Misses/sec" |
| 111 |
value_threshold = 0 |
| 112 |
} |
| 113 |
|
| 114 |
} |