>>> On 7/14/2009 at 4:36 PM, in message
<4120cbd6bbd82647b89d6a70694510bed1c...@exchange02.presidio.alexa.com>, "Guolin
Cheng" <[email protected]> wrote:
> Hi,
> 
>  
> 
>  Any one knows what the metric name "<disk_used-metric-name>" stands
> for? The stanza is from diskusage.pyconf file, ganglia version 3.1.1/2.
> 
>  
> 
> collection_group {
> 
> ...
> 
>   metric {
> 
>     name = "<disk_used-metric-name>"
> 
> ...
> 
>   }
> 
> ...
> 
>  
> 
>  It looks like that the name stands for a series of metrics output from
> associated python module, but not sure what is the playing rule behind.
> Any one can shed a light into this? Thanks a lot.
> 
>  


It is a place holder for the actual metric name that isn't determined until you 
run gmond.  Seems like a "chicken and egg" thing, but what you have to do is 
run gmond with the -m parameter first.  This will give you a list of all of the 
possible metrics including those that come from diskusage.py.  Then extract the 
actual diskusage metric names from the list and plug them into the .conf file.  
In most cases you will have to create additional metric blocks in the .conf 
file for each diskusage metric.  Then start gmond normally and the individual 
disk usage metrics will be collected as expected.

Brad


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to