[PATCH] check_mysql (multi-source replication)

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
akv
Posts: 2
Joined: Mon Jul 16, 2012 3:43 am

[PATCH] check_mysql (multi-source replication)

Post by akv »

Hi

I've just begun using multi-source replication in MySQL (from Mysql 5.7/MariaDB 10) and the current check_mysql plugin cannot handle this - it reports "No slaves defined" because it requires a connection name along with the "SHOW SLAVE STATUS" query - "SHOW SLAVE 'CONNECTION_NAME' STATUS".

I'v created a patch that adds this feature via -N/--slave-connection-name options, hope you will include it in future releases :)

/Anders
Attachments
check_mysql_add_slave_connection_name.patch
Patch that adds support for multi-slave replication
(2.65 KiB) Downloaded 488 times
Locked