Package: munin-plugins-core
Version: 2.0.33-1
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello,
without patching, mysql_ plugin doesn't work with MariaDB.
Attached one-line change, please consider it for stretch.
before
# munin-run mysql_commands
Unknown section: INDIVIDUAL BUFFER POOL INFO at
/etc/munin/plugins/mysql_commands line 1099.
after
#munin-run mysql_commands
Com_delete.value 0
Com_insert.value 1
Com_insert_select.value 0
Com_load.value 0
Com_replace.value 0
Com_replace_select.value 0
Com_select.value 340366
Com_update.value 1681
Com_update_multi.value 0
This change is part of
https://github.com/munin-monitoring/munin/pull/109/
which got merged to 2.1.* series, it fixes some more compatibility, maybe it's
worth using it
Thanks,
Libor
- -- System Information:
Debian Release: 9.0
APT prefers experimental
APT policy: (700, 'experimental'), (700, 'unstable')
Architecture: amd64
(x86_64)
Foreign Architectures: i386
Kernel: Linux 4.11.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCAAzFiEEPGZVVU37tFmB0TQv8O+MbsKfR44FAlkSvq4VHGxpYm9yLmts
ZXBhY0BiY29tLmN6AAoJEPDvjG7Cn0eONOoQAJsCKG7RlVD9ssl5KsXbbjW4puO8
qQorYdR9CZi2cBJPnOHe2gJocOZtSHPeER1bOrYiH3S/PGk5Em7643vk4EeLuQbv
XpINyQTFB1s4IkOFWpIKVtbolu0MCxdDWviv2gr9ZPHZBNJlCFfFKbza0Vhi8/Z6
llRB7ZyjQqqh7cFqeMcX6DgCgw91ABpDvqfWQScqjwVjrItIWY9zRtdbgMLsKHGc
5PK4ml1vcYBCds8cU3fVvXVJ+6tZpet9QxbQjoXCHhOq56KtakZs6Pe9wZGLg+PU
JM/wb/GrnenZ8vd4weThgRvV1Jy4FHDP08q9c2HIKX7YHu34qWhN5nN+Scs5YXmi
qZwMnsGhUYCS0uF4nUcm8QmbcX4F9sZE+A7GvR3meLFa3qsdn3a1bxgmfUIGEYIl
2OfM4P57PEaT1gKfedJkvmXTfeswd/tg5jRvLTJ1SD0W6xz2vi3J97OqmEH4L0k1
Xu3pa/sbFcwFqVRaFf4MxCwPdax18wD/9Miq/hVhmgK69k3kjEZxoMmUh4G9kEhk
VJ39+5Z3+a8ZZwFCrBxQ9xZFiTEgK3DfKrNl0rJlIL953vzzKurvy0fMl5OvonFr
4CBAcXQxQVt6XOyMGwo2RUH1RTu0xwfkdjS5R5xnFNAPQxpUirnaR0Zn/W+a3ryJ
cxli/Z6WMyGYUOHL
=bj+Y
-----END PGP SIGNATURE-----
diff -ur a/usr/share/munin/plugins/mysql_ b/usr/share/munin/plugins/mysql_
--- a/usr/share/munin/plugins/mysql_ 2017-03-03 23:44:00.000000000 +0100
+++ b/usr/share/munin/plugins/mysql_ 2017-05-10 09:06:44.000000000 +0200
@@ -1072,6 +1072,7 @@
my %section_map = (
'BUFFER POOL AND MEMORY' => \&parse_buffer_pool_and_memory,
+ 'INDIVIDUAL BUFFER POOL INFO' => \&skip,
'FILE I/O' => \&parse_file_io,
'INSERT BUFFER AND ADAPTIVE HASH INDEX'
=> \&parse_insert_buffer_and_adaptive_hash_index,