[rrd-developers] Re: MySQL Integration

Rainer Bawidamann Rainer.Bawidamann at rz.uni-ulm.de
Wed Nov 29 11:24:47 MET 2000


In article <3A24D04C.5778757B at donkeypit.com>,
	dk at donkeypit.com (Don Kukral) writes:
> 
> Well, this is what I've got so far.  I've added a new option to rrdtool
> called fetch_mysql.  It's called as follows:
> 
> rrdtool fetch_mysql \
>   --datasource
> "host=h;user=u;password=p;database=d;table=t;t_col=tc;v_col=vc;" \
>   --start start \
>   --end end

> Tomorrow I'll probably start on a graph_mysql option.  Then the plan is
> to go back and add functionality for multiple datasources.

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
-- 
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