updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / ganglia / gmetad.conf
blob4ee4c7fb515e02341918b276064d568d81238777
1 # This is an example of a Ganglia Meta Daemon configuration file
2 #                http://ganglia.sourceforge.net/
4 # $Id: gmetad.conf.in 1639 2008-08-09 23:30:32Z carenas $
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.
10 # default: 0
11 # debug_level 10
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.
22 # Format: 
23 # data_source "my cluster" [polling interval] address1:port addreses2:port ...
24
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 "my cluster" localhost
42 # Round-Robin Archives
43 # You can specify custom Round-Robin archives here (defaults are listed below)
45 # 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" \
46 #      "RRA:AVERAGE:0.5:5760:374"
50 #-------------------------------------------------------------------------------
51 # Scalability mode. If on, we summarize over downstream grids, and respect
52 # authority tags. If off, we take on 2.5.0-era behavior: we do not wrap our output
53 # in <GRID></GRID> tags, we ignore all <GRID> tags we see, and always assume
54 # we are the "authority" on data source feeds. This approach does not scale to
55 # large groups of clusters, but is provided for backwards compatibility.
56 # default: on
57 # scalable off
59 #-------------------------------------------------------------------------------
60 # The name of this Grid. All the data sources above will be wrapped in a GRID
61 # tag with this name.
62 # default: unspecified
63 # gridname "MyGrid"
65 #-------------------------------------------------------------------------------
66 # The authority URL for this grid. Used by other gmetads to locate graphs
67 # for our data sources. Generally points to a ganglia/
68 # website on this machine.
69 # default: "http://hostname/ganglia/",
70 #   where hostname is the name of this machine, as defined by gethostname().
71 # authority "http://mycluster.org/newprefix/"
73 #-------------------------------------------------------------------------------
74 # List of machines this gmetad will share XML with. Localhost
75 # is always trusted. 
76 # default: There is no default value
77 # trusted_hosts 127.0.0.1 169.229.50.165 my.gmetad.org
79 #-------------------------------------------------------------------------------
80 # If you want any host which connects to the gmetad XML to receive
81 # data, then set this value to "on"
82 # default: off
83 # all_trusted on
85 #-------------------------------------------------------------------------------
86 # If you don't want gmetad to setuid then set this to off
87 # default: on
88 # setuid off
90 #-------------------------------------------------------------------------------
91 # User gmetad will setuid to (defaults to "nobody")
92 # default: "nobody"
93 setuid_username "ganglia"
95 #-------------------------------------------------------------------------------
96 # The port gmetad will answer requests for XML
97 # default: 8651
98 # xml_port 8651
100 #-------------------------------------------------------------------------------
101 # The port gmetad will answer queries for XML. This facility allows
102 # simple subtree and summation views of the XML tree.
103 # default: 8652
104 # interactive_port 8652
106 #-------------------------------------------------------------------------------
107 # The number of threads answering XML requests
108 # default: 4
109 # server_threads 10
111 #-------------------------------------------------------------------------------
112 # Where gmetad stores its round-robin databases
113 # default: "/var/lib/ganglia/rrds"
114 # rrd_rootdir "/some/other/place"