On Aug 7, 2007, at 4:58 PM, cristian wrote:
im trying to get rid of the milli value on some graphs, like the
load average.
it's perfectly clear that the mib gives you a value that must be
divided by 100 to get something similar to what you get with a
"top" on the server, but the graph keeps drawing it with the milli
value, so instead of having a graph with a value of 0,24 i get
240,00m which is not very friendly to users that dont really need
to understand the rrd logic.
so, is it possible to get rid of that milli value and show it like
it should be ?
Cristian,
This can be controlled by the format attribute of the data point
definition. If you go into the performance template that is pulling
this value, click on the load average data source and then its data
point, you'll probably see that the format is currently set to
something like %5.2lf%s. Let me break down what this formatting means:
%5.2lf = Long float with 5 allowable digits, two of which should be
on the right side of the decimal point.
%s = Scale the value. Add things like m, M, G.
For the load average you could change the format to: %5.2lf
All of this being said, I'd like to thank you for mentioning this
because I just found a bug related to setting the format on data
points. In order for it to work, you will have to apply the following
change to your installation: http://dev.zenoss.org/trac/changeset/6070
Chet Luther
[EMAIL PROTECTED]
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users