Skip to content

Commit

Permalink
added apcu conf
Browse files Browse the repository at this point in the history
  • Loading branch information
withgod committed Jun 6, 2014
1 parent c40bb39 commit 8cc85bd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions apc_status/conf.d/apc_status.pyconf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ collection_group {
collect_every = 30
time_threshold = 90

/* apcu can't get some variables.
try regexp format(require pcre)
metric {
name_match = "apc_(.+)"
}
*/
metric {
name = "apc_mem_size"
title = "Total Memory"
Expand Down Expand Up @@ -59,6 +65,18 @@ collection_group {
title = "Number of Cache Deletes"
value_threshold = 0
}
/* if apcu using. try num_expunges nexpunges. https://github.com/krakjoe/apcu/issues/41 (fixed but not merge release branch)
metric {
name = "apc_num_expunges"
title = "Number of Cache Deletes"
value_threshold = 0
}
*/
metric {
name = "apc_expunges"
title = "Number of Cache Deletes"
value_threshold = 0
}
metric {
name = "apc_num_entries"
title = "Cached Files"
Expand Down

0 comments on commit 8cc85bd

Please sign in to comment.