collected-mysql遇到dbi问题,尝试从源页面配置dbi插件。没有运气
错误:
plugin_load: Could not find plugin "dbi" in /usr/lidb64/collectd/
我的代码:
LoadPlugin dbi
<plugin dbi=''>
------
</result>
</query>
<database "local_mysql_server"=''>
Driver "mysql"
DriverOption "host" "127.0.0.1"
DriverOption "username" "xxxxxxxxx"
DriverOption "password" "xxxxxxxxx"
DriverOption "dbname" "information_schema"
SelectDB "information_schema"
Query "temp_tables_ondisk"
</database>
</plugin>