[rrd-users] Combining two graphs of same datasource but from different archives to one
Helbig, Dirk (EXTERN: HUD)
extern.dirk.helbig at volkswagen.de
Fri Nov 28 16:00:35 CET 2008
It works. Thanks a lot.
-----Ursprüngliche Nachricht-----
Von: Karl Fischer [mailto:rrd-users at ficos.de]
Gesendet: Freitag, 28. November 2008 12:09
An: Helbig, Dirk (EXTERN: HUD)
Cc: rrd-users at lists.oetiker.ch
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
More information about the rrd-users
mailing list