[rrd-users] Probleme using several dbs and unknown values

unicsonline unicsonline at gmail.com
Wed Jan 30 18:55:46 CET 2013


After adaptation to convert to ksh syntax, that's works perfectly.

Thanks a lot for your patience about my problem and my poor english ;)


2013/1/30 Simon Hobson <linux at thehobsons.co.uk>

> unicsonline wrote:
> > It seems better but I have now to find how build this formula for any
> cases, between one db source to x dbsources
>
> Iteratively would seem to be the way to do it. In shell I'd do it like :
>
> rpn="data${x}"
> i = $(( $x - 1 )
> while $i > 0
> do
>   rpn="data$i,UN,${rpn},data$i,IF"
>   i=$(( $i - 1 ))
> done
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20130130/27ee6207/attachment-0001.htm 


More information about the rrd-users mailing list