[rrd-developers] Re: MySQL Integration
Rainer Bawidamann
Rainer.Bawidamann at rz.uni-ulm.de
Thu Nov 30 12:32:19 MET 2000
In article <3A25EB9E.3FB84C6D at donkeypit.com>,
dk at donkeypit.com (Don Kukral) writes:
> Well I took your advice and I added two new DEF's to the graph
> routine. They are as follows:
>
> DBDEF:var=mysql(host,user,pw,db):CF:t_col:v_col:table
>
> and for more flexibility...
>
> DBQDEF:var=mysql(...):CF:sql-query
>
> 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.
Graphing too? Great!
Is your code flexible enough to support "var=db2" and
"var=oracle" (with appropirate code from others *hint*)? Autoconf should
make it possible (no, I don't know a good reference for autoconf)
Rainer
--
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
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-developers
mailing list