[rrd-users] Re: rrdgraph or rrdfetch and NaN values

Fabricio Vertamatti favert at ansp.br
Mon Jun 24 16:30:44 MEST 2002


Yes, there is.
Try this:

DEF:input=arq.rrd:input0:AVERAGE
CDEF:in_values=input,UN,0,input,IF

It is the same as:
if (input == NaN) {
	input = 0;
}
else {
	input = input;
}


Em Seg 24 Jun 2002 17:21, Faruk Grozdanic escreveu:
> Hello,
>
> Is there a way to tell rrdgraph function to treat NaN values as zeros?
>
> Thanks
>
> Faruk G.

-- 
Fabricio Vertamatti
Analista de Sistemas Trainee
Rede ANSP - FAPESP

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list