[collectd] Question about MySQL plugin

XANi xani666 at gmail.com
Mon Dec 21 14:57:36 CET 2009


Hi,
im running several servers hosting some VMs (basically one server with
production app, other with beta version of that app and 3rd for test),
my MySQL plugin config looks like that:

<Plugin mysql>
        <Database db>
                Host "127.0.0.1"
                User "stat"
                Password "some-pass"
        </Database>
</Plugin>
hostname of server is something like db1.dom0.domain.
MySQL stats get saved as
/127.0.0.1/mysql-db/
and i would  rather have something like
/db1.dom0.domain/mysql-db/

I thougth about specifying hostname in "Host" but then i can't use same
config for all my nodes, any ideas how to do it ?

-- 
Mariusz Gronczewski (XANi) <xani666 at gmail.com>
GnuPG: 0xEA8ACE64
http://devrandom.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: To jest =?UTF-8?Q?cz=C4=99=C5=9B=C4=87?=
 =?UTF-8?Q?_wiadomo=C5=9Bci?= podpisana cyfrowo
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20091221/9ee818b0/attachment.pgp 


More information about the collectd mailing list