1
/* This configuration is as close to 2.5.x default behavior as possible
2
The values closely match ./gmond/metric.h definitions in 2.5.x */
11
host_dmax = 3600 /*secs */
12
cleanup_threshold = 300 /*secs */
14
send_metadata_interval = 60
18
name = "{{ service_name }}"
20
latlong = "unspecified"
24
{% for master in masters %}
32
/* You can specify as many udp_recv_channels as you like as well. */
37
/* You can specify as many tcp_accept_channels as you like to share
38
an xml description of the state of the cluster */
45
/* The host section describes attributes of the host, like the location */
47
location = "{{ unit_name }}"
50
/* Each metrics module that is referenced by gmond must be specified and
51
loaded. If the module has been statically linked with gmond, it does not
52
require a load path. However all dynamically loadable modules must include
60
path = "/usr/lib/ganglia/modcpu.so"
64
path = "/usr/lib/ganglia/moddisk.so"
68
path = "/usr/lib/ganglia/modload.so"
72
path = "/usr/lib/ganglia/modmem.so"
76
path = "/usr/lib/ganglia/modnet.so"
80
path = "/usr/lib/ganglia/modproc.so"
84
path = "/usr/lib/ganglia/modsys.so"
88
include ('/etc/ganglia/conf.d/*.conf')
91
/* The old internal 2.5.x metric array has been replaced by the following
92
collection_group directives. What follows is the default behavior for
93
collecting and sending metrics that is as close to 2.5.x behavior as
96
/* This collection group will cause a heartbeat (or beacon) to be sent every
97
20 seconds. In the heartbeat is the GMOND_STARTED data which expresses
98
the age of the running gmond. */
107
/* This collection group will send general info about this host every 1200 secs.
108
This information doesn't change between reboots and is only collected once. */
111
time_threshold = 1200
122
title = "Memory Total"
124
/* Should this be here? Swap can be added/removed between reboots. */
127
title = "Swap Space Total"
131
title = "Last Boot Time"
134
name = "machine_type"
135
title = "Machine Type"
139
title = "Operating System"
143
title = "Operating System Release"
151
/* This collection group will send the status of gexecd for this host every 300 secs */
152
/* Unlike 2.5.x the default behavior is to report gexecd OFF. */
158
title = "Gexec Status"
162
/* This collection group will collect the CPU status info every 20 secs.
163
The time threshold is set to 90 seconds. In honesty, this time_threshold could be
164
set significantly higher to reduce unneccessary network chatter. */
171
value_threshold = "1.0"
176
value_threshold = "1.0"
181
value_threshold = "5.0"
186
value_threshold = "1.0"
191
value_threshold = "5.0"
196
value_threshold = "1.0"
199
/* The next two metrics are optional if you want more detail...
200
... since they are accounted for in cpu_system.
203
value_threshold = "1.0"
208
value_threshold = "1.0"
220
value_threshold = "1.0"
221
title = "One Minute Load Average"
225
value_threshold = "1.0"
226
title = "Five Minute Load Average"
229
name = "load_fifteen"
230
value_threshold = "1.0"
231
title = "Fifteen Minute Load Average"
235
/* This group collects the number of running and total processes */
241
value_threshold = "1.0"
242
title = "Total Running Processes"
246
value_threshold = "1.0"
247
title = "Total Processes"
251
/* This collection group grabs the volatile memory metrics every 40 secs and
252
sends them at least every 180 secs. This time_threshold can be increased
253
significantly to reduce unneeded network traffic. */
259
value_threshold = "1024.0"
260
title = "Free Memory"
264
value_threshold = "1024.0"
265
title = "Shared Memory"
269
value_threshold = "1024.0"
270
title = "Memory Buffers"
274
value_threshold = "1024.0"
275
title = "Cached Memory"
279
value_threshold = "1024.0"
280
title = "Free Swap Space"
289
value_threshold = 4096
294
value_threshold = 4096
295
title = "Bytes Received"
299
value_threshold = 256
300
title = "Packets Received"
304
value_threshold = 256
305
title = "Packets Sent"
309
/* Different than 2.5.x default since the old config made no sense */
312
time_threshold = 3600
315
value_threshold = 1.0
316
title = "Total Disk Space"
325
value_threshold = 1.0
326
title = "Disk Space Available"
329
name = "part_max_used"
330
value_threshold = 1.0
331
title = "Maximum Disk Space Used"