| 1 |
modules { |
| 2 |
module { |
| 3 |
name = "apache_status" |
| 4 |
language = "python" |
| 5 |
param url { |
| 6 |
value = "http://localhost:7070/server-status" |
| 7 |
} |
| 8 |
|
| 9 |
# Which metric group should these metrics be put into |
| 10 |
param metric_group { |
| 11 |
value = "apache" |
| 12 |
} |
| 13 |
|
| 14 |
# Collecting SSL metrics under Apache 2.2 appears to cause a memory leak |
| 15 |
# in mod_status. Watch Apache memory utilization if you enable them |
| 16 |
param collect_ssl { |
| 17 |
value = False |
| 18 |
} |
| 19 |
} |
| 20 |
} |
| 21 |
|
| 22 |
collection_group { |
| 23 |
collect_every = 30 |
| 24 |
time_threshold = 90 |
| 25 |
|
| 26 |
metric { |
| 27 |
name = "ap_busy_workers" |
| 28 |
title = "Busy Threads" |
| 29 |
value_threshold = 0 |
| 30 |
} |
| 31 |
metric { |
| 32 |
name = "ap_idle_workers" |
| 33 |
title = "Idle Threads" |
| 34 |
value_threshold = 0 |
| 35 |
} |
| 36 |
metric { |
| 37 |
name = "ap_logging" |
| 38 |
title = "Logging" |
| 39 |
value_threshold = 0 |
| 40 |
} |
| 41 |
metric { |
| 42 |
name = "ap_open_slot" |
| 43 |
title = "Open slot with no current process" |
| 44 |
value_threshold = 0 |
| 45 |
} |
| 46 |
metric { |
| 47 |
name = "ap_reading_request" |
| 48 |
title = "Reading Request" |
| 49 |
value_threshold = 0 |
| 50 |
} |
| 51 |
metric { |
| 52 |
name = "ap_waiting" |
| 53 |
title = "Waiting for Connection" |
| 54 |
value_threshold = 0 |
| 55 |
} |
| 56 |
metric { |
| 57 |
name = "ap_sending_reply" |
| 58 |
title = "Sending Reply" |
| 59 |
value_threshold = 0 |
| 60 |
} |
| 61 |
metric { |
| 62 |
name = "ap_idle" |
| 63 |
title = "Idle cleanup of worker" |
| 64 |
value_threshold = 0 |
| 65 |
} |
| 66 |
metric { |
| 67 |
name = "ap_dns_lookup" |
| 68 |
title = "DNS Lookup" |
| 69 |
value_threshold = 0 |
| 70 |
} |
| 71 |
metric { |
| 72 |
name = "ap_closing" |
| 73 |
title = "Closing connection" |
| 74 |
value_threshold = 0 |
| 75 |
} |
| 76 |
metric { |
| 77 |
name = "ap_starting" |
| 78 |
title = "Starting up" |
| 79 |
value_threshold = 0 |
| 80 |
} |
| 81 |
metric { |
| 82 |
name = "ap_gracefully_fin" |
| 83 |
title = "Gracefully finishing" |
| 84 |
value_threshold = 0 |
| 85 |
} |
| 86 |
metric { |
| 87 |
name = "ap_keepalive" |
| 88 |
title = "Keepalive (read)" |
| 89 |
value_threshold = 0 |
| 90 |
} |
| 91 |
metric { |
| 92 |
name = "ap_rps" |
| 93 |
title = "Requests per second" |
| 94 |
value_threshold = 0.0 |
| 95 |
} |
| 96 |
metric { |
| 97 |
name = "ap_cpuload" |
| 98 |
title = "Pct of time CPU utilized" |
| 99 |
value_threshold = 0.0 |
| 100 |
} |
| 101 |
# Uncomment if you are collecting SSL metrics |
| 102 |
# metric { |
| 103 |
# name_match = "apssl_(.+)" |
| 104 |
# value_threshold = 0.0 |
| 105 |
# } |
| 106 |
} |