<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Here is the RRD info. Look specifically at <STRONG>rra[0].cdp_prep[1].value = 2.2500000000e+00</STRONG><BR>Im possitive that Im only sending integer values to RRD. And them are sent every 100 seconds. </DIV>
<DIV> </DIV>
<DIV>filename = "99.rrd"<BR>rrd_version = "0003"<BR>step = 100<BR>last_update = 1226319614<BR>ds[sPHI].type = "GAUGE"<BR>ds[sPHI].minimal_heartbeat = 100<BR>ds[sPHI].min = 0.0000000000e+00<BR>ds[sPHI].max = 1.8760000000e+03<BR>ds[sPHI].last_ds = "UNKN"<BR>ds[sPHI].value = 0.0000000000e+00<BR>ds[sPHI].unknown_sec = 0<BR>ds[sPHO].type = "GAUGE"<BR>ds[sPHO].minimal_heartbeat = 100<BR>ds[sPHO].min = 0.0000000000e+00<BR>ds[sPHO].max = 1.8760000000e+03<BR>ds[sPHO].last_ds = "UNKN"<BR>ds[sPHO].value = 4.2000000000e+01<BR>ds[sPHO].unknown_sec = 0<BR>ds[sARI].type = "GAUGE"<BR>ds[sARI].minimal_heartbeat = 100<BR>ds[sARI].min = 0.0000000000e+00<BR>ds[sARI].max = 1.8760000000e+03<BR>ds[sARI].last_ds = "UNKN"<BR>ds[sARI].value = 0.0000000000e+00<BR>ds[sARI].unknown_sec = 0<BR>ds[sARO].type = "GAUGE"<BR>ds[sARO].minimal_heartbeat = 100<BR>ds[sARO].min = 0.0000000000e+00<BR>ds[sARO].max = 1.8760000000e+03<BR>ds[sARO].last_ds = "UNKN"<BR>ds[sARO].value =
0.0000000000e+00<BR>ds[sARO].unknown_sec = 0<BR>rra[0].cf = "MAX"<BR>rra[0].rows = 1000<BR>rra[0].pdp_per_row = 3<BR>rra[0].xff = 0.0000000000e+00<BR>rra[0].cdp_prep[0].value = 0.0000000000e+00<BR>rra[0].cdp_prep[0].unknown_datapoints = 0<BR><STRONG>rra[0].cdp_prep[1].value = 2.2500000000e+00</STRONG><BR>rra[0].cdp_prep[1].unknown_datapoints = 0<BR>rra[0].cdp_prep[2].value = 0.0000000000e+00<BR>rra[0].cdp_prep[2].unknown_datapoints = 0<BR>rra[0].cdp_prep[3].value = 0.0000000000e+00<BR>rra[0].cdp_prep[3].unknown_datapoints = 0<BR></DIV>
<DIV>Thanks</DIV>
<DIV>Johan</DIV>
<DIV> </DIV>
<DIV><BR>--- Den <B>tis 2008-11-11 skrev William R. Lorenz <I><wrl@express.org></I></B>:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">Från: William R. Lorenz <wrl@express.org><BR>Ämne: Re: [rrd-users] RRD smoothing - please help<BR>Till: "johan thoren" <johan_thoren@yahoo.se><BR>Kopia: rrd-users@lists.oetiker.ch<BR>Datum: tisdag 11 november 2008 08.26<BR><BR><PRE>Hej Johan,
On Tue, 11 Nov 2008, johan thoren wrote:
> William, thanks for your reply! I looking to accomplish a five minute
> graph with integer values like below. The problem is that I cant get rid
> of the double X.XX values that is produced by RRD.
If you'd like to get rid of any double X.XX values and convert them to
integers, have you considered a Perl or C or Bash or ZSH int/floor/ceil
type of function? :-) Perhaps there's some intermediate steps that could
also happen between the data returned by rrdtool and your application?
It should be rather trivial to convert all those mathematical values? :-)
> no.
> 4. ____
> 3. ____
> 2. ____
> 1.____ ____
> 0. 300. 600. 900. 1200 time
With regards to your previous email (as you write -- "my goal is to store
data and ONLY display the maximum value"), max values are not necessarily
integer values. Are you also able to share more about your overall goals?
As a disclaimer, I'm sure there's others on this mailing list that know
a
lot more than I do about such things, and I defer to their wise expertise.
Hope this may help, at least a bit. Take care,
--
William R. Lorenz</PRE></BLOCKQUOTE></td></tr></table><br>
<hr size=1><table><tr><td>Sök efter kärleken! <br>Hitta din tvillingsjäl på Yahoo! Dejting: <a href="http://ad.doubleclick.net/clk;185753627;24584539;x?http://se.meetic.yahoo.net/index.php?mtcmk=148783">http://se.meetic.yahoo.net</a></td></tr></table>