summaryrefslogtreecommitdiffstats
path: root/meta-linaro/recipes-extra/ganglia/ganglia/gmetad-example.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-linaro/recipes-extra/ganglia/ganglia/gmetad-example.conf')
-rw-r--r--meta-linaro/recipes-extra/ganglia/ganglia/gmetad-example.conf122
1 files changed, 122 insertions, 0 deletions
diff --git a/meta-linaro/recipes-extra/ganglia/ganglia/gmetad-example.conf b/meta-linaro/recipes-extra/ganglia/ganglia/gmetad-example.conf
new file mode 100644
index 0000000..7f2fd7f
--- /dev/null
+++ b/meta-linaro/recipes-extra/ganglia/ganglia/gmetad-example.conf
@@ -0,0 +1,122 @@
1# This is an example of a Ganglia Meta Daemon configuration file
2# http://ganglia.sourceforge.net/
3#
4#-------------------------------------------------------------------------------
5# Setting the debug_level to 1 will keep daemon in the forground and
6# show only error messages. Setting this value higher than 1 will make
7# gmetad output debugging information and stay in the foreground.
8# default: 0
9# debug_level 10
10#
11#-------------------------------------------------------------------------------
12# What to monitor. The most important section of this file.
13#
14# The data_source tag specifies either a cluster or a grid to
15# monitor. If we detect the source is a cluster, we will maintain a complete
16# set of RRD databases for it, which can be used to create historical
17# graphs of the metrics. If the source is a grid (it comes from another gmetad),
18# we will only maintain summary RRDs for it.
19#
20# Format:
21# data_source "my cluster" [polling interval] address1:port addreses2:port ...
22#
23# The keyword 'data_source' must immediately be followed by a unique
24# string which identifies the source, then an optional polling interval in
25# seconds. The source will be polled at this interval on average.
26# If the polling interval is omitted, 15sec is asssumed.
27#
28# A list of machines which service the data source follows, in the
29# format ip:port, or name:port. If a port is not specified then 8649
30# (the default gmond port) is assumed.
31# default: There is no default value
32#
33# data_source "my cluster" 10 localhost my.machine.edu:8649 1.2.3.5:8655
34# data_source "my grid" 50 1.3.4.7:8655 grid.org:8651 grid-backup.org:8651
35# data_source "another source" 1.3.4.7:8655 1.3.4.8
36
37data_source "my cluster" localhost
38
39#
40# Round-Robin Archives
41# You can specify custom Round-Robin archives here (defaults are listed below)
42#
43# RRAs "RRA:AVERAGE:0.5:1:244" "RRA:AVERAGE:0.5:24:244" "RRA:AVERAGE:0.5:168:244" "RRA:AVERAGE:0.5:672:244" \
44# "RRA:AVERAGE:0.5:5760:374"
45#
46
47#
48#-------------------------------------------------------------------------------
49# Scalability mode. If on, we summarize over downstream grids, and respect
50# authority tags. If off, we take on 2.5.0-era behavior: we do not wrap our output
51# in <GRID></GRID> tags, we ignore all <GRID> tags we see, and always assume
52# we are the "authority" on data source feeds. This approach does not scale to
53# large groups of clusters, but is provided for backwards compatibility.
54# default: on
55# scalable off
56#
57#-------------------------------------------------------------------------------
58# The name of this Grid. All the data sources above will be wrapped in a GRID
59# tag with this name.
60# default: unspecified
61# gridname "MyGrid"
62#
63#-------------------------------------------------------------------------------
64# The authority URL for this grid. Used by other gmetads to locate graphs
65# for our data sources. Generally points to a ganglia/
66# website on this machine.
67# default: "http://hostname/ganglia/",
68# where hostname is the name of this machine, as defined by gethostname().
69# authority "http://mycluster.org/newprefix/"
70#
71#-------------------------------------------------------------------------------
72# List of machines this gmetad will share XML with. Localhost
73# is always trusted.
74# default: There is no default value
75# trusted_hosts 127.0.0.1 169.229.50.165 my.gmetad.org
76#
77#-------------------------------------------------------------------------------
78# If you want any host which connects to the gmetad XML to receive
79# data, then set this value to "on"
80# default: off
81# all_trusted on
82#
83#-------------------------------------------------------------------------------
84# If you don't want gmetad to setuid then set this to off
85# default: on
86# setuid off
87#
88#-------------------------------------------------------------------------------
89# User gmetad will setuid to (defaults to "nobody")
90# default: "nobody"
91# setuid_username "nobody"
92#
93#-------------------------------------------------------------------------------
94# The port gmetad will answer requests for XML
95# default: 8651
96# xml_port 8651
97#
98#-------------------------------------------------------------------------------
99# The port gmetad will answer queries for XML. This facility allows
100# simple subtree and summation views of the XML tree.
101# default: 8652
102# interactive_port 8652
103#
104#-------------------------------------------------------------------------------
105# The number of threads answering XML requests
106# default: 4
107# server_threads 10
108#
109#-------------------------------------------------------------------------------
110# Where gmetad stores its round-robin databases
111# default: "/var/lib/ganglia/rrds"
112# rrd_rootdir "/some/other/place"
113#
114#-------------------------------------------------------------------------------
115# In earlier versions of gmetad, hostnames were handled in a case
116# sensitive manner
117# If your hostname directories have been renamed to lower case,
118# set this option to 0 to disable backward compatibility.
119# From version 3.2, backwards compatibility will be disabled by default.
120# default: 1 (for gmetad < 3.2)
121# default: 0 (for gmetad >= 3.2)
122case_sensitive_hostnames 1