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

Adrien Pojol adrienp at aac-services.co.uk
Fri Nov 2 12:56:23 CET 2012


Hi,

Im using collectd 5.10 on a Debian 6 with a *very* simple config file 
and I got theses errors:


Nov  2 11:43:33 monitoring collectd[15530]: The read function 
"mysql-mysql" is already registered. Check for duplicate "LoadPlugin" 
lines in your configuration!
Nov  2 11:43:33 monitoring collectd[15530]: The read function 
"mysql-mysql" is already registered. Check for duplicate "LoadPlugin" 
lines in your configuration!
Nov  2 11:43:33 monitoring collectd[15530]: The read function 
"mysql-mysql" is already registered. Check for duplicate "LoadPlugin" 
lines in your configuration!
Nov  2 11:43:33 monitoring collectd[15530]: The read function 
"mysql-mysql" is already registered. Check for duplicate "LoadPlugin" 
lines in your configuration!
Nov  2 11:43:33 monitoring collectd[15534]: The read function 
"mysql-mysql" is already registered. Check for duplicate "LoadPlugin" 
lines in your configuration!
Nov  2 11:43:33 monitoring collectd[15534]: The read function 
"mysql-mysql" is already registered. Check for duplicate "LoadPlugin" 
lines in your configuration!
Nov  2 11:43:33 monitoring collectd[15534]: The read function 
"mysql-mysql" is already registered. Check for duplicate "LoadPlugin" 
lines in your configuration!
Nov  2 11:43:33 monitoring collectd[15534]: The read function 
"mysql-mysql" is already registered. Check for duplicate "LoadPlugin" 
lines in your configuration!
Nov  2 11:43:33 monitoring collectd[15534]: Initialization complete, 
entering read-loop.


My config is so simple, I don't think I've made a mistake..


LoadPlugin syslog
<Plugin syslog>
        LogLevel info
</Plugin>

LoadPlugin mysql
LoadPlugin write_graphite

<Plugin mysql>
        <Database "db-master">
                Host "10.1.3.1"
                User "monitoring"
                Password "PASSWORD"
                MasterStats true
        </Database>
        <Database "db-slave1">
                Host "10.1.3.10"
                User "monitoring"
                Password "PASSWORD"
                SlaveStats true
        </Database>
        <Database "db-slave2">
                Host "10.1.3.11"
                User "monitoring"
                Password "PASSWORD"
                SlaveStats true
        </Database>
        <Database "db-slave3">
                Host "10.1.3.12"
                User "monitoring"
                Password "PASSWORD"
                SlaveStats true
        </Database>
        <Database "db-slave4">
                Host "10.1.3.13"
                User "monitoring"
                Password "PASSWORD"
                SlaveStats true
        </Database>
</Plugin>

<Plugin write_graphite>
        <Carbon>
                Host "10.0.0.35"
                Port "2003"
                Prefix "collectd."
        </Carbon>
</Plugin>


Is it a mistake from me.. Or a bug ?

Thank you !

-- 
Adrien Pujol
Systems Administrator
AAC Services Ltd
Tel: +44 (0) 1234 22 77 39
*************************************************************************
The information contained or attached to this e-mail is intended only for the use of the individual or entity to which it is addressed. If you are not the intended
recipient, or a person responsible for delivering it to the intended recipient, you are not authorised to and must not disclose, copy, distribute or retain this message or any part of it. It may contain information which is confidential and/or covered by legal, professional or other privilege (or other rules or laws with similar effect in jurisdictions outside England and Wales).
The views expressed in this e-mail are not necessarily the views of the company and its officers and employees make no representation or accept any liability for its accuracy or completeness unless expressly stated to the contrary. All errors and omissions omitted.
If you have received this e-mail in error please reply to this message informing us of the error and then delete from your server.
Registered Company Address: Manton Lane, Bedford, MK41 7TL.
*************************************************************************




More information about the collectd mailing list