1 # This is an example of a Ganglia Meta Daemon configuration file
2 # http://ganglia.sourceforge.net/
4 # $Id: gmetad.conf,v 1.10 2003/08/06 23:11:33 sacerdoti Exp $
6 #-------------------------------------------------------------------------------
7 # Setting the debug_level to 1 will keep daemon in the forground and
8 # show only error messages. Setting this value higher than 1 will make
9 # gmetad output debugging information and stay in the foreground.
13 #-------------------------------------------------------------------------------
14 # What to monitor. The most important section of this file.
16 # The data_source tag specifies either a cluster or a grid to
17 # monitor. If we detect the source is a cluster, we will maintain a complete
18 # set of RRD databases for it, which can be used to create historical
19 # graphs of the metrics. If the source is a grid (it comes from another gmetad),
20 # we will only maintain summary RRDs for it.
23 # data_source "my cluster" [polling interval] address1:port addreses2:port ...
25 # The keyword 'data_source' must immediately be followed by a unique
26 # string which identifies the source, then an optional polling interval in
27 # seconds. The source will be polled at this interval on average.
28 # If the polling interval is omitted, 15sec is asssumed.
30 # A list of machines which service the data source follows, in the
31 # format ip:port, or name:port. If a port is not specified then 8649
32 # (the default gmond port) is assumed.
33 # default: There is no default value
35 # data_source "my cluster" 10 localhost my.machine.edu:8649 1.2.3.5:8655
36 # data_source "my grid" 50 1.3.4.7:8655 grid.org:8651 grid-backup.org:8651
37 # data_source "another source" 1.3.4.7:8655 1.3.4.8
39 data_source "Linux" head nigol1 nigol2
42 #-------------------------------------------------------------------------------
43 # Scalability mode. If on, we summarize over downstream grids, and respect
44 # authority tags. If off, we take on 2.5.0-era behavior: we do not wrap our output
45 # in <GRID></GRID> tags, we ignore all <GRID> tags we see, and always assume
46 # we are the "authority" on data source feeds. This approach does not scale to
47 # large groups of clusters, but is provided for backwards compatibility.
51 #-------------------------------------------------------------------------------
52 # The name of this Grid. All the data sources above will be wrapped in a GRID
54 # default: Unspecified
57 #-------------------------------------------------------------------------------
58 # The authority URL for this grid. Used by other gmetads to locate graphs
59 # for our data sources. Generally points to a ganglia/
60 # website on this machine.
61 # default: "http://hostname/ganglia/",
62 # where hostname is the name of this machine, as defined by gethostname().
63 # authority "http://mycluster.org/newprefix/"
65 #-------------------------------------------------------------------------------
66 # List of machines this gmetad will share XML with. Localhost
68 # default: There is no default value
69 # trusted_hosts 127.0.0.1 169.229.50.165 my.gmetad.org
71 #-------------------------------------------------------------------------------
72 # If you want any host which connects to the gmetad XML to receive
73 # data, then set this value to "on"
77 #-------------------------------------------------------------------------------
78 # If you don't want gmetad to setuid then set this to off
82 #-------------------------------------------------------------------------------
83 # User gmetad will setuid to (defaults to "nobody")
85 setuid_username "ganglia"
87 #-------------------------------------------------------------------------------
88 # The port gmetad will answer requests for XML
92 #-------------------------------------------------------------------------------
93 # The port gmetad will answer queries for XML. This facility allows
94 # simple subtree and summation views of the XML tree.
96 #interactive_port 8652
98 #-------------------------------------------------------------------------------
99 # The number of threads answering XML requests
103 #-------------------------------------------------------------------------------
104 # Where gmetad stores its round-robin databases
105 # default: "/var/lib/ganglia/rrds"
106 # rrd_rootdir "/some/other/place"