Daniel Kolvik <[email protected]> wrote:
> Debug messages from gmond prints:
> 
> RRD_update
> (/var/lib/ganglia/rrds/XXX/__SummaryInfo__/Apahe_Bytes_p_sec.rrd): not a
> simple integer: '4070.7'
> 
> The gmetric command that submits the value is:
> 
> /usr/bin/gmetric --tfloat --name='Apache_Bytes_p_sec' --value='4072.04'
> --unit='Bytes_p_sec'
> 
> Is there a problem with gmetad handling floats?

Solution to this is in the syntax summary at the top of the gmetric
man page:

| -tSTRING --type=STRING
|     Either string|int8|uint8|int16|uint16|int32|uint32|float|double

I believe if you don't give it a -t / --type parameter, uint8 is default.
I might be wrong about that, but anyway, use float if you need float.
  -- Cos

------------------------------------------------------------------------------
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