Ok, I've tried with the last version and it work now. Thank you !

-----Original Message-----
From: lorin scraba [mailto:[email protected]] 
Sent: 02 November 2012 15:33
To: Adrien Pujol
Cc: collectd
Subject: Re: [collectd] The read function "mysql-mysql" is already 
registered.

Ok, it's a bug :)  And it's fixed in newer versions.

As a workaround, if don't want to upgrade,  you can add a distinct 
database name in each <Database> section:
<Database "db-master">
             Host "10.1.3.1"
             User "monitoring"
             Password "PASSWORD"
             Database "test"    <- this has to be a valid db
             MasterStats true
 </Database>


On Fri, Nov 2, 2012 at 3:47 PM, Adrien Pojol 
<[email protected]> wrote:
> Thank you but unfortunately, it didn't work. I got exactly the same 
> errors.
>
>
> -----Original Message-----
> From: lorin scraba [mailto:[email protected]]
> Sent: 02 November 2012 13:17
> To: Adrien Pujol
> Cc: collectd
> Subject: Re: [collectd] The read function "mysql-mysql" is already 
> registered.
>
> On Fri, Nov 2, 2012 at 12:56 PM, Adrien Pojol 
> <[email protected]> wrote:
>> Nov  2 11:43:33 monitoring collectd[15530]: The read function 
>> "mysql-mysql" is already registered. Check for duplicate "LoadPlugin"
> [..]
>> <Plugin mysql>
>>         <Database "db-master">
>>                 Host "10.1.3.1"
>>                 User "monitoring"
>>                 Password "PASSWORD"
>>                 MasterStats true
>>         </Database>
>
> Don't use dashes in the instance name: "dbmaster" instead of 
"db-master"
>
>
>
>
>
> --
> Adrien Pujol
> Systems Administrator
> AAC Services Ltd
>
>
> _______________________________________________
> collectd mailing list
> [email protected]
> http://mailman.verplant.org/listinfo/collectd





-- 
Adrien Pujol
Systems Administrator
AAC Services Ltd


_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to