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

lorin scraba lorin at truecaller.com
Fri Nov 2 16:32:49 CET 2012


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



More information about the collectd mailing list