Instead of sending value as kilobytes send it as Bytes (multiply with 1024 obviously prior to sending). RRDtool will scale the graph for you correctly.

Vladimir

On Tue, 13 Dec 2011, Aidan Wong wrote:

Thank you Alex for the info.  I was apparently wishful thinking about
Ganglia capabilitiesÅ 
Any info on an easy way to search through the mailing list archives?


On 12/12/11 2:35 PM, "Alex Dean" <a...@crackpot.org> wrote:

The graph is showing you a value of roughly 10.5 million Kilobytes, which
matches what you sent via gmetric.  The label 'Kilobytes' is just text,
and not interpreted by ganglia in any way, so no unit conversion will be
performed.

If you want the graph to be in gigabytes, do the division in your script
prior to calling gmetric.
 $ gmetric --conf=gmond.conf --name test_metric2 --value 10.57 --type
float --units Gigabytes

alex

On Dec 12, 2011, at 2:01 PM, Aidan Wong wrote:

Hi,

I'm trying to pass a metric with Gmetric in Kilobytes but the unit
representation in the graph is not correct.
Example:
$ gmetric --conf=gmond.conf --name test_metric2 --value 10570393 --type
int32 --units Kilobytes

For the command above, the graph represents 10570393 Kb as 10.57 Mb
instead of 10.57 Gb.  See picture attached.  Can someone indicate how I
should make the graph display the correct byte conversion?
Also is it possible to search the archive mailing list items from the
SourceForge forum list?
http://sourceforge.net/mailarchive/forum.php?forum_name=ganglia-general


Thanks

<graph.jpg>--------------------------------------------------------------
----------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what
it
provides. You can attend the event by watching it streamed LIVE online.

Learn more at
http://p.sf.net/sfu/ms-windowsazure______________________________________
_________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


--------------------------------------------------------------------------
----
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what
it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general




------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and
improve service delivery. Take 5 minutes to use this Systems Optimization
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general
------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to