In article <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] (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
-- 
[EMAIL PROTECTED]

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to