1GMETRIC(1) User Commands GMETRIC(1)
2
3
4
6 gmetric - manual page for Ganglia Custom Metric Utility
7
9 gmetric [OPTIONS]...
10
12 The Ganglia Metric Client (gmetric) announces a metric on the list of
13 defined send channels defined in a configuration file
14
15 -h, --help
16 Print help and exit
17
18 -V, --version
19 Print version and exit
20
21 -c, --conf=STRING
22 The configuration file to use for finding send channels
23 (default=`/etc/ganglia/gmond.conf')
24
25 -n, --name=STRING
26 Name of the metric
27
28 -v, --value=STRING
29 Value of the metric
30
31 -t, --type=STRING
32 Either string|int8|uint8|int16|uint16|int32|uint32|float|double
33
34 -u, --units=STRING
35 Unit of measure for the value e.g. Kilobytes, Celcius
36 (default=`')
37
38 -s, --slope=STRING
39 Either zero|positive|negative|both (default=`both')
40
41 -x, --tmax=INT
42 The maximum time in seconds between gmetric calls (default=`60')
43
44 -d, --dmax=INT
45 The lifetime in seconds of this metric (default=`0')
46
47 -g, --group=STRING
48 Group of the metric
49
50 -D, --desc=STRING
51 Description of the metric
52
53 -T, --title=STRING
54 Title of the metric
55
56 -S, --spoof=STRING
57 IP address and name of host/device (colon separated) we are
58 spoofing (default=`')
59
60 -H, --heartbeat
61 spoof a heartbeat message (use with spoof option)
62
64 Matt Massie <massie@cs.berkeley.edu>
65
67 Report all bugs to the Ganglia Github project at
68
69 https://github.com/ganglia/monitor-core/issues
70
72 Copyright (c) 2001, 2002, 2003, 2004, 2005 by The Regents of the Uni‐
73 versity of California. All rights reserved.
74
75 Permission to use, copy, modify, and distribute this software and its
76 documentation for any purpose, without fee, and without written agree‐
77 ment is hereby granted, provided that the above copyright notice and
78 the following two paragraphs appear in all copies of this software.
79
80 IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
81 FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
82 ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
83 THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
84 SUCH DAMAGE.
85
86 THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
87 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABIL‐
88 ITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HERE‐
89 UNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO
90 OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
91 MODIFICATIONS.
92
93
94
95gmetric March 2008 GMETRIC(1)