mysql_size

Hack of a plugin to show size of databases.

LanguageBourne shell
RequirementsMySQL client
Supported platformsAny
Written byRune Nordbøe Skillingstad - rune.skillingtad@ntnu.no
Latest releasehttp://munin.projects.linpro.no/attachment/wiki/plugin-mysql_size/mysql_size.5

Install

Copy mysql_size to /usr/share/munin/plugins

Configure mysqlopts in /etc/munin/plugin-conf.d/munin-node

Run munin-node-configure

# munin-node-configure --shell
ln -s /usr/share/munin/plugins/mysql_size /etc/munin/plugins/mysql_size

Run the ln commands.

Restart munin-node

Configuration

Add options like user, host and password to pass to mysql command.

[mysql*]
   env.mysqlopts -u muninuser --password=hidd4nsEacrat

Attachments