Thanks Jesse!

I can see individual ".rrd" files for numeric metrics, which are based on the 
merric name.  For example:
        gmetric --name="Page_Hits" --value="9" --type=uint32 -> This will 
generate a "Page_Hits.rrd" file
        gmetric --name="Description" --value="Web Server" --type=string -> does 
not create a "Description.rrd"

Both of these will showup on the gmetrics page, and the numeric one will 
generate a graph, but only the numeric one seams to create it's own ".rrd" file.

Thanks,
Dave

-----Original Message-----
From: Jesse Becker [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 03, 2008 7:57 PM
To: Mattice, David
Cc: [email protected]
Subject: Re: [Ganglia-general] rrdtool query of gmetric strings

On Jan 3, 2008 3:53 PM, Mattice, David <[EMAIL PROTECTED]> wrote:
> Is there a way to query the rrd databases for data that was added by
> "gmetric"?  I have several descriptive string fields that are added as
> hosts are added to the clusters and I want to extract these strings on
> the gmetad server.  I have not been able to determine what rrd
> database these metrics are added to.

I don't think that there is anything inherent in the .rrd files to distinguish 
a "stock" metric (e.g. from gmond) from a "custom" one (e.g. sent via gmetric). 
 However, gmetad does keep track of the source of the data, and can provide 
that.  I think that this means if a metric hasn't been updated since gmetad was 
started, gmetad won't know about it (I'm not 100% sure about that).


--
Jesse Becker
GPG Fingerprint -- BD00 7AA4 4483 AFCC 82D0  2720 0083 0931 9A2B 06A2

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to