5a3deafb03
one day after the initial import of this package.
78 lines
4.3 KiB
Text
78 lines
4.3 KiB
Text
$NetBSD: patch-al,v 1.1 2005/02/10 02:33:53 jschauma Exp $
|
|
|
|
--- ganglia.html.orig 2005-02-07 22:25:39.000000000 -0500
|
|
+++ ganglia.html 2005-02-07 22:26:58.000000000 -0500
|
|
@@ -278,7 +278,7 @@
|
|
example, you may not want to have <code>gexec</code> run jobs on your cluster frontend nodes.</p>
|
|
</dd>
|
|
<dd>
|
|
-<p>You simply add the following line to your <code>gmond</code> configuration file (<code>/etc/gmond.conf</code> by
|
|
+<p>You simply add the following line to your <code>gmond</code> configuration file (<code>@PKG_SYSCONFDIR@/gmond.conf</code> by
|
|
default)</p>
|
|
</dd>
|
|
<dd>
|
|
@@ -383,16 +383,16 @@
|
|
<p>The configuration file format has changed between gmond version 2.5.x and version
|
|
2.6.x. The change was necessary in order to allow more complex configuration options.</p>
|
|
<p>Gmond has a default configuration it will use if it does not find the default configuration
|
|
-file <strong>/etc/gmond.conf</strong>. To see the default configuration simply run the command:</p>
|
|
+file <strong>@PKG_SYSCONFDIR@/gmond.conf</strong>. To see the default configuration simply run the command:</p>
|
|
<pre>
|
|
% gmond --default_config</pre>
|
|
<p>and gmond will output its default configuration to stdout. This default configuration can
|
|
serve as a good starting place for building a more custom configuration.</p>
|
|
<pre>
|
|
% gmond --default_config > gmond.conf</pre>
|
|
-<p>would create a file <strong>gmond.conf</strong> which you can then edit to taste and copy to <strong>/etc/gmond.conf</strong>
|
|
+<p>would create a file <strong>gmond.conf</strong> which you can then edit to taste and copy to <strong>@PKG_SYSCONFDIR@/gmond.conf</strong>
|
|
or elsewhere.</p>
|
|
-<p>To start gmond with a configuration file other then <strong>/etc/gmond.conf</strong>, simply specify the
|
|
+<p>To start gmond with a configuration file other then <strong>@PKG_SYSCONFDIR@/gmond.conf</strong>, simply specify the
|
|
configuration file location by running</p>
|
|
<pre>
|
|
% gmond --config /my/ganglia/configs/custom.conf</pre>
|
|
@@ -411,7 +411,7 @@
|
|
</p>
|
|
<h2><a name="gmetad_configuration">Gmetad Configuration</a></h2>
|
|
<p>The behavior of the Ganglia Meta Daemon is completely controlled by a single configuration
|
|
-file which is by default <code>/etc/gmetad.conf</code>. For gmetad to do anything useful you much
|
|
+file which is by default <code>@PKG_SYSCONFDIR@/gmetad.conf</code>. For gmetad to do anything useful you much
|
|
specify at least one <code>data_source</code> in the configuration. The format of the data_source
|
|
line is as follows</p>
|
|
<pre>
|
|
@@ -574,7 +574,7 @@
|
|
-h, --help Print help and exit
|
|
-V, --version Print version and exit
|
|
-c, --conf=STRING The configuration file to use for finding send channels
|
|
- (default=`/etc/gmond.conf')
|
|
+ (default=`@PKG_SYSCONFDIR@/gmond.conf')
|
|
-n, --name=STRING Name of the metric
|
|
-v, --value=STRING Value of the metric
|
|
-t, --type=STRING Either
|
|
@@ -586,7 +586,7 @@
|
|
(default=`60')
|
|
-d, --dmax=INT The lifetime in seconds of this metric (default=`0')</pre>
|
|
<p>Gmetric sends the metric specified on the commandline to all <strong>udp_send_channel</strong>s specified
|
|
-in the configuration file <strong>/etc/gmond.conf</strong> by default. If you want to send metric to
|
|
+in the configuration file <strong>@PKG_SYSCONFDIR@/gmond.conf</strong> by default. If you want to send metric to
|
|
alternate <strong>udp_send_channel</strong>s, you can specify a different configuration file as such:</p>
|
|
<pre>
|
|
% gmetric --conf=./custom.conf -n "wow" -v "it works" -t "string"</pre>
|
|
@@ -913,7 +913,7 @@
|
|
|
|
mcast_if eth1
|
|
|
|
- .. in /etc/gmond.conf that tells gmond to send its data out the "eth1"
|
|
+ .. in @PKG_SYSCONFDIR@/gmond.conf that tells gmond to send its data out the "eth1"
|
|
network interface but that doesn't necessarily mean that the source
|
|
address of the packets will match the "eth1" interface. to make sure that
|
|
data sent out eth1 has the correct source address run the following...
|
|
@@ -951,7 +951,7 @@
|
|
> 26 nodes each
|
|
> gmond
|
|
>
|
|
- > In the frontend /etc/gmond.conf I have the
|
|
+ > In the frontend @PKG_SYSCONFDIR@/gmond.conf I have the
|
|
> following statement: mcast_if eth1
|
|
>
|
|
> The 26 nodes are correctly reported.
|