Hi,

As far as I recall, the web frontend's code creates a list available
metrics from the first node in the list.

If this node doesn't have any gmetrics, then only the builtin metrics
will appear in the menu.

Once you choose one of the metrics, the nodes are sorted based on it (in
your case, the first node will now be the one with the highest count on
"bytes_out"). I suspect that this node doesn't have any gmetrics.


Can you confirm/dispute this?


Thanks,

Alex


Ben Hartshorne wrote:

> On Tue, Sep 19, 2006 at 03:11:26PM +0200, Rafal Masztalerz wrote:
>   
>> Hi
>> I added some new metrics for my ganglia software using the "gmetric"
>> command.  When I run the webpage without parameters :
>> http://computer/ganglia/ everything seems to be ok and I can choose my
>> new metrics.
>>
>> But when I try to do other things on this page, for expample, when I
>> choose some metric  ("bytes_out") then there are no my new metrics on
>> the new/refreshed page.
>> http://computer/ganglia/?m=bytes_out&r=hour&s=descending&c=comp&h=&sh=1&hc=4
>>
>>     
>
> Rafael,
>
> Be careful that your metric only sends numbers.  In some versions of
> ganglia, if your script that reports the gmetric accidentally sends
> letters instead, Bad Things(tm) happen.  I wrote a script to parse the
> output of 'who' to count the number of logged in users, but I did it
> wrong.  Occasionally it got a word instead of a number.  This caused
> unexplained metric-loss throughout my gangila installation.  
>
> A newer version of gmetric fixed this problem, but it is a good place to
> start looking.
>
> I'm sorry, but I don't remember what versions are affected.
>
> -ben
>
>   
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ganglia-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>   

Reply via email to