-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
777 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
memcached | ||
=============== | ||
|
||
python module for ganglia 3.1. | ||
|
||
This module sends metrics on memcached protocol "stats". | ||
|
||
## AUTHOR | ||
|
||
HIROSE Masaaki <hirose31@gmail.com> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
modules { | ||
module { | ||
name = "memcached" | ||
language = "python" | ||
|
||
param host { | ||
value = "localhost" | ||
} | ||
param port { | ||
value = 11211 | ||
} | ||
param type { | ||
value = "memcached" | ||
} | ||
|
||
param refresh_rate { | ||
value = 15 | ||
} | ||
} | ||
} | ||
|
||
collection_group { | ||
collect_every = 20 | ||
time_threshold = 90 | ||
|
||
metric { | ||
name = "mc_curr_items" | ||
title = "Current number of items stored" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "mc_cmd_get" | ||
title = "Cumulative number of retrieval reqs" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "mc_cmd_set" | ||
title = "Cumulative number of storage reqs" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "mc_bytes_read" | ||
title = "Total number of bytes read by this server from network" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "mc_bytes_written" | ||
title = "Total number of bytes sent by this server to network" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "mc_bytes" | ||
title = "Current number of bytes used to store items" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "mc_limit_maxbytes" | ||
title = "Number of bytes this server is allowed to use for storage" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "mc_curr_connections" | ||
title = "Number of open connections" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "mc_evictions" | ||
title = "Number of valid items removed from cache to free memory for new items" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "mc_get_hits" | ||
title = "Number of keys that have been requested and found present " | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "mc_get_misses" | ||
title = "Number of items that have been requested and not found" | ||
value_threshold = 0 | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
modules { | ||
module { | ||
name = "__HOSTNAME__" | ||
language = "python" | ||
|
||
param host { | ||
value = "__HOSTNAME__" | ||
} | ||
param port { | ||
value = 11211 | ||
} | ||
param type { | ||
value = "memcached" | ||
} | ||
|
||
param refresh_rate { | ||
value = 15 | ||
} | ||
|
||
param metrix_prefix { | ||
value = "__HOSTNAME__" | ||
} | ||
param spoof_host { | ||
value = "__IPADDRESS__:__HOSTNAME__" | ||
} | ||
|
||
} | ||
} | ||
|
||
collection_group { | ||
collect_every = 20 | ||
time_threshold = 90 | ||
|
||
metric { | ||
name = "__HOSTNAME___curr_items" | ||
title = "Current number of items stored" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___cmd_get" | ||
title = "Cumulative number of retrieval reqs" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___cmd_set" | ||
title = "Cumulative number of storage reqs" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___bytes_read" | ||
title = "Total number of bytes read by this server from network" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___bytes_written" | ||
title = "Total number of bytes sent by this server to network" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___bytes" | ||
title = "Current number of bytes used to store items" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___limit_maxbytes" | ||
title = "Number of bytes this server is allowed to use for storage" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___curr_connections" | ||
title = "Number of open connections" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___evictions" | ||
title = "Number of valid items removed from cache to free memory for new items" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___get_hits" | ||
title = "Number of keys that have been requested and found present " | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___get_misses" | ||
title = "Number of items that have been requested and not found" | ||
value_threshold = 0 | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
modules { | ||
module { | ||
name = "tokyotyrant" | ||
language = "python" | ||
|
||
param host { | ||
value = "localhost" | ||
} | ||
param port { | ||
value = 1978 | ||
} | ||
param type { | ||
value = "Tokyo Tyrant" | ||
} | ||
|
||
param refresh_rate { | ||
value = 15 | ||
} | ||
} | ||
} | ||
|
||
collection_group { | ||
collect_every = 20 | ||
time_threshold = 90 | ||
|
||
metric { | ||
name = "tt_curr_items" | ||
title = "Current number of items stored" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "tt_cmd_get" | ||
title = "Cumulative number of retrieval reqs" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "tt_cmd_set" | ||
title = "Cumulative number of storage reqs" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "tt_bytes" | ||
title = "Current number of bytes used to store items" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "tt_cmd_get_hits" | ||
title = "Number of keys that have been requested and found present " | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "tt_cmd_get_misses" | ||
title = "Number of items that have been requested and not found" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "tt_cmd_set_hits" | ||
title = "Number of keys that have been stored and found present " | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "tt_cmd_set_misses" | ||
title = "Number of items that have been stored and not found" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "tt_cmd_delete" | ||
title = "Cumulative number of delete reqs" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "tt_cmd_delete_hits" | ||
title = "Number of keys that have been deleted and found present " | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "tt_cmd_delete_misses" | ||
title = "Number of items that have been deleted and not found" | ||
value_threshold = 0 | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
modules { | ||
module { | ||
name = "__HOSTNAME__" | ||
language = "python" | ||
|
||
param host { | ||
value = "__HOSTNAME__" | ||
} | ||
param port { | ||
value = 1978 | ||
} | ||
param type { | ||
value = "Tokyo Tyrant" | ||
} | ||
|
||
param refresh_rate { | ||
value = 15 | ||
} | ||
|
||
param metrix_prefix { | ||
value = "__HOSTNAME__" | ||
} | ||
param spoof_host { | ||
value = "IPADDRESS:HOSTNAME" | ||
} | ||
|
||
} | ||
} | ||
|
||
collection_group { | ||
collect_every = 20 | ||
time_threshold = 90 | ||
|
||
metric { | ||
name = "__HOSTNAME___curr_items" | ||
title = "Current number of items stored" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___cmd_get" | ||
title = "Cumulative number of retrieval reqs" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___cmd_set" | ||
title = "Cumulative number of storage reqs" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___bytes" | ||
title = "Current number of bytes used to store items" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___cmd_get_hits" | ||
title = "Number of keys that have been requested and found present " | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___cmd_get_misses" | ||
title = "Number of items that have been requested and not found" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___cmd_set_hits" | ||
title = "Number of keys that have been stored and found present " | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___cmd_set_misses" | ||
title = "Number of items that have been stored and not found" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___cmd_delete" | ||
title = "Cumulative number of delete reqs" | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___cmd_delete_hits" | ||
title = "Number of keys that have been deleted and found present " | ||
value_threshold = 0 | ||
} | ||
metric { | ||
name = "__HOSTNAME___cmd_delete_misses" | ||
title = "Number of items that have been deleted and not found" | ||
value_threshold = 0 | ||
} | ||
|
||
} | ||
|
Oops, something went wrong.