Comment 6 for bug 1364298

Revision history for this message
Jan Kellermann (jan-kellermann) wrote :

Hi ChristianEhrhardt,

I patched the file mysql_ in /usr/share/munin/plugins/

This file is included in munin-plugins-core, see http://packages.ubuntu.com/xenial/all/munin-plugins-core/filelist

I dont know what the .in-file is for, I also can not find it in source-git
https://anonscm.debian.org/cgit/collab-maint/munin.git/tree/plugins/node.d

I fixed only this two bugs but tested today your linked version
https://raw.githubusercontent.com/munin-monitoring/munin/master/plugins/node.d/mysql_
(just replaced in /usr/share/munin/plugins/mysql_) and it worked without problems.

I did a short view on the diff between your link above and my patched version:
- the new version uses Storage (libstorable-perl is included in perl-package)
- some new values are given (e.g. replication)

So I think the use of the new version should be no problem. I would prefer this new version.

New symlinks are:

mysql_tables -> /usr/share/munin/plugins/mysql_
mysql_table_definitions -> /usr/share/munin/plugins/mysql_
mysql_performance -> /usr/share/munin/plugins/mysql_
mysql_mrr -> /usr/share/munin/plugins/mysql_
mysql_max_mem -> /usr/share/munin/plugins/mysql_
mysql_innodb_srv_master_thread -> /usr/share/munin/plugins/mysql_
mysql_innodb_read_views -> /usr/share/munin/plugins/mysql_
mysql_innodb_queries -> /usr/share/munin/plugins/mysql_
mysql_innodb_history_list_length -> /usr/share/munin/plugins/mysql_
mysql_handler_write -> /usr/share/munin/plugins/mysql_
mysql_handler_transaction -> /usr/share/munin/plugins/mysql_
mysql_handler_tmp -> /usr/share/munin/plugins/mysql_
mysql_handler_read -> /usr/share/munin/plugins/mysql_
mysql_files -> /usr/share/munin/plugins/mysql_
mysql_binlog_groupcommit -> /usr/share/munin/plugins/mysql_