/etc/ganglia/conf.d/apache_status.pyconf.disabled is in ganglia-monitor-python 3.6.0-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | modules {
module {
name = "apache_status"
language = "python"
param url {
value = "http://localhost/server-status?auto"
}
param virtual_host {
value = "health"
}
# Which metric group should these metrics be put into
param metric_group {
value = "apache"
}
}
}
collection_group {
collect_every = 20
time_threshold = 90
metric {
name = "ap_busy_workers"
title = "Busy Threads"
value_threshold = 0
}
metric {
name = "ap_idle_workers"
title = "Idle Threads"
value_threshold = 0
}
metric {
name = "ap_logging"
title = "Logging"
value_threshold = 0
}
metric {
name = "ap_open_slot"
title = "Open slot with no current process"
value_threshold = 0
}
metric {
name = "ap_reading_request"
title = "Reading Request"
value_threshold = 0
}
metric {
name = "ap_waiting"
title = "Waiting for Connection"
value_threshold = 0
}
metric {
name = "ap_sending_reply"
title = "Sending Reply"
value_threshold = 0
}
metric {
name = "ap_idle"
title = "Idle cleanup of worker"
value_threshold = 0
}
metric {
name = "ap_dns_lookup"
title = "DNS Lookup"
value_threshold = 0
}
metric {
name = "ap_closing"
title = "Closing connection"
value_threshold = 0
}
metric {
name = "ap_starting"
title = "Starting up"
value_threshold = 0
}
metric {
name = "ap_gracefully_fin"
title = "Gracefully finishing"
value_threshold = 0
}
metric {
name = "ap_keepalive"
title = "Keepalive (read)"
value_threshold = 0
}
metric {
name = "ap_rps"
title = "Request per second"
value_threshold = 0.0
}
metric {
name = "ap_requests"
title = "Requests"
value_threshold = 0.0
}
}
|