No, there is no solution for this yet.  The problem is that gmond does not yet 
provide a way for metrics to be dynamically defined.  Every metric has to be 
defined through the configuration file first.  I'm sure that there a many 
solutions to this problem, but nobody has stepped up to tackle this one yet.  I 
don't believe that this one will be a quick fix.  Everything is designed around 
full configuration through the config file.  Solving this problem will require 
some architectural redesign.

Brad

>>> On 10/21/2009 at 9:54 AM, in message
<68fea9390910210854r3b116748j9c33a7f4c5ac4...@mail.gmail.com>, Matt
<mattmora...@gmail.com> wrote:
> Is there any solution to this?
> 
> It would be really beneficial to work out the metrics we want to
> publish in the python code rather than supplying them up front in the
> pyconf file.
> 
> 2009/7/15 Brad Nicholes <bnicho...@novell.com>:
>>>>> On 7/14/2009 at 4:36 PM, in message
>> <4120cbd6bbd82647b89d6a70694510bed1c...@exchange02.presidio.alexa.com>, 
> "Guolin
>> Cheng" <guo...@alexa.com> 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
>> Ganglia-general@lists.sourceforge.net 
>> https://lists.sourceforge.net/lists/listinfo/ganglia-general 
>>
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference 
> _______________________________________________
> Ganglia-general mailing list
> Ganglia-general@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/ganglia-general 




------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to