[rrd-developers] Re: MySQL Integration
dk at donkeypit.com
Thu Nov 30 06:54:38 MET 2000
Well I took your advice and I added two new DEF's to the graph
routine. They are as follows:
and for more flexibility...
With the second DEF you can pass it any valid SQL. The first column
should be the time and the second column the value. Works great. Once
I figure out how autoconf/automake/etc work I'll post a patch. BTW,
anyone know a good reference for autoconf?
Rainer Bawidamann wrote:
> Did you think about a way to use it like this:
> rrdtool graph DEF:var1=mysql:host;user;pw;db;table;t_col;v_col ...
> (or DEF:var1=%mysql(...):column ... or whatever to distinguish from
> normal DEF)
> This way graphing would work as usual.
> Rainer.Bawidamann at rz.uni-ulm.de
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
More information about the rrd-developers