[rrd-users] Replace nan with previous value

Steve Shipway s.shipway at auckland.ac.nz
Sun Apr 10 02:10:38 CEST 2011


Each line is a single colour/style.

However, you can do something clever by creating a second line in a different colour which takes over for the first at the appropriate time.  It's not so simple but I can see how it would be done with multiple CDEFs.  This would get the effect you're after (in Routers2 I use something like this to make a grey-out overlay when the values of the first line are undef)

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.shipway at auckland.ac.nz
Ph: +64 9 373 7599 ext 86487


________________________________________
From: Samuel Mutel [smutel at monitoring-fr.org]
Sent: Friday, 8 April 2011 2:00 a.m.
To: Steve Shipway
Cc: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] Replace nan with previous value

Thank you. It works fine.
Can I change the color of the line or area when it is NaN ?

Regards,
Samuel Mutel.



More information about the rrd-users mailing list