[collectd] The read function "mysql-mysql" is already registered.

Adrien Pojol adrienp at aac-services.co.uk
Mon Nov 5 12:35:28 CET 2012


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

-----Original Message-----
From: lorin scraba [mailto:lorin at truecaller.com] 
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 
<adrienp at aac-services.co.uk> wrote:
> Thank you but unfortunately, it didn't work. I got exactly the same 
> errors.
>
>
> -----Original Message-----
> From: lorin scraba [mailto:lorin at truecaller.com]
> 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 
> <adrienp at aac-services.co.uk> 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
> collectd at verplant.org
> http://mailman.verplant.org/listinfo/collectd





-- 
Adrien Pujol
Systems Administrator
AAC Services Ltd




More information about the collectd mailing list