It works. Thanks a lot. -----Ursprüngliche Nachricht----- Von: Karl Fischer [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 28. November 2008 12:09 An: Helbig, Dirk (EXTERN: HUD) Cc: [email protected] Betreff: Re: [rrd-users] Combining two graphs of same datasource but from different archives to one
Helbig, Dirk (EXTERN: HUD) wrote: > Hello, > > I have a RRD-file with one datasource and two archives. The first > archive has the LAST values for the last hour. > The second one has the AVERAGE values for the last year. > Now I want to show both in one graph. If I have the LAST values then I > want to display them, otherwise the AVERAGE values should be displayed. > > Currently I've tried something like this: > > LTIME,NOW,3600,-,LT,d1a,d1l,IF > > Where d1a are the AVERAGE values und d1l the LAST values. > > I hope you can help me. Dirk, why don't you just try: show=d1l,UN,d1a,d1l,IF so if d1l is UNKNOWN (NaN) it will use d1a - is that what you wanted? - Karl _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
