After look at the CDEF tutorial http://oss.oetiker.ch/rrdtool/tut/cdeftutorial.en.html
and reading the section on handling unknown data I thought I would try this to see if I could detect if had unknown data in a rrd, so i could process it differently If its unknown set the value to 10 else set to 0 CDEF:wrong=currTot,UN,10,0,IF VDEF:Wrong=wrong,MAXIMUM VDEF:AWrong=wrong,AVERAGE PRINT:Wrong:%5.2lf ----> returns inf PRINT:AWrong:%5.2lf ----> returns a value The 2nd problem is when I try this PRINT:AWrong:%c:strftime I always get the start of unix time ....1970 John
_______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
