Skip to content

Commit e03cd47

Browse files
committed
Merge pull request ganglia#191 from cburroughs/gmetad-meta-status
"meta" metrics: gmetad status --> gmond --> gmetad
2 parents 3d8b612 + 05b4fcc commit e03cd47

File tree

2 files changed

+509
-0
lines changed

2 files changed

+509
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
modules {
2+
module {
3+
name = "gmetad_meta_status"
4+
language = "python"
5+
6+
# Which gmetad instance to monitor
7+
param gmetad_host {
8+
value = "localhost"
9+
}
10+
11+
# The gmetad interactive port
12+
param gmetad_port {
13+
value = 8652
14+
}
15+
16+
# Which metrics to report. choices=['basic-only', 'raw', 'rate',
17+
# 'all'] 'basic' metrics are included in all 'raw' and 'rate'.
18+
param metrics {
19+
value = "all"
20+
}
21+
22+
# This module calculates all metrics (including derived) rates at
23+
# once and then serves them out of a cache. This determines the
24+
# minimum TTL.
25+
param check_every {
26+
value = 30
27+
}
28+
# Where to log information from this module (syslog facility)
29+
param syslog_facility {
30+
value = "user"
31+
}
32+
# log level, WARNING is not expected to produce any output
33+
param log_level {
34+
value = "WARNING"
35+
}
36+
}
37+
}
38+
39+
collection_group {
40+
collect_every = 30
41+
time_threshold = 60
42+
43+
metric {
44+
name_match = "gmetad_meta_status_(.+)"
45+
}
46+
}

0 commit comments

Comments
 (0)