Thanks for responding, Bernard.

Indeed my cron job grabs one counter reading and posts it immediately via 
gmetric.

The job runs once per minute. 

One thing I should do is create a logfile of the valies being posted. I'll take 
care of this tonight.

Ed

-----Original Message-----

From:  Bernard Li <[email protected]>
Subj:  Re: [Ganglia-general] data gathered once per minute
Date:  Wed Jul 1, 2009 4:45 pm
Size:  3K
To:  Ed Greenberg <[email protected]>
cc:  [email protected]

Hi Ed:  How are you gathering the statistics and how is that being fed to 
gmetric?  I wonder if you could merge the data collection with your gmetric 
cronjob.  Also, how frequently is your cronjob run?  Cheers,  Bernard  On Wed, 
Jul 1, 2009 at 12:08 PM, Ed Greenberg wrote:  I have a statistic that I'm 
gathering once per minute. I run a cron job  that feeds gmetric. (This is with 
ganglia 3.1.1 on Centos. (I compiled  it myself since it's not available by 
RPM.)   The data item is a counter and my gmetric command line looks like this: 
 gmetric -n Searches -v $COUNT -t uint32 -s positive   What I get for my minute 
by minute data input is this (fragment):                                        
      0.0000000000e+00                             2.2611111111e+01             
                4.5222222222e+00                             0.0000000000e+00   
                          2.2648888889e+01                             
3.4844444444e+00                             0.0000000000e+00        
                     0.0000000000e+00                             
7.8600000000e+00                             1.8340000000e+01                   
          0.0000000000e+00                             0.0000000000e+00         
                    8.6857142857e+00                             
2.1714285714e+01                             0.0000000000e+00                   
          0.0000000000e+00                             4.8470588235e+00         
                    2.2619607843e+01                             
0.0000000000e+00                             0.0000000000e+00                   
          0.0000000000e+00                             2.5312500000e+01         
                    8.4375000000e-01                             
8.4375000000e-01    Note the zeroes.   Here are my day and hour graph:   
http://www.greenberg.org/graphs   So my hour graph shows individual points with 
spaces between them, but  they don't correspond very well to the data I'm 
seeing.  My day graph  seems t
o reflect the magnitude of the data in the non-zeo cells.   I'd really 
appreciate an explanation of what's going on, and what the  best way is to 
clean this up.   Thanks,     Ed Greenberg   
------------------------------------------------------------------------------  
_______________________________________________  Ganglia-general mailing list  
[email protected]  
https://lists.sourceforge.net/lists/listinfo/ganglia-general  


------------------------------------------------------------------------------
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to