[rrd-users] omit invalid values

Martin Sperl rrdtool at martin.sperl.org
Fri Nov 21 14:29:13 CET 2008


Hi Uli!

Assuming a DEF with the name of "val" here an example of a CDEF that 
will set all values above 1000 to NAN, which gets excluded in any 
calculations:
"CDEF:fixedval=val,1000,GT,UNKN,val,IF"
and graph "fixedval" instead of "val".

"man rrdgraph_rpn" gives you the documentation what else you can do with 
CDEFs. Or look at: http://oss.oetiker.ch/rrdtool/doc/rrdgraph_rpn.en.html

Ciao,
          Martin

Ulrich Stärk wrote:
> Hi,
>
> I'm new to rrdtool so please be patient with me :-)
>
> I used ntop to populate some rrds and now want to generate custom graphs 
> from those. Unfortunately some really unreasonable values got stored in 
> my rrds which I neither want to be printed in my graphs nor be used for 
> calculating the min/max/avg values.
>
> How can I tell rrdtool to just ignore values above some threshhold that 
> I specify?
>
> TIA,
>
> Uli
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>   



More information about the rrd-users mailing list