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

-- 
Ben Hartshorne
email: [EMAIL PROTECTED]
http://ben.hartshorne.net

Attachment: signature.asc
Description: Digital signature

Reply via email to