[Nagiosplug-devel] check_mysql.c slave checking patch

James Kingston james.kingston at gmail.com
Tue May 24 15:31:08 CEST 2005


This patch was motivated by differences in the output of 'SHOW SLAVE
STATUS' on different versions of mysqld.  I just subscribed an hour
ago, so I don't know if it's already been done before.

On 4.0.16, Slave_IO_Running and Slave_SQL_Running were columns 9 & 10
out of 18, as the plugin expected.  On our 4.1.10a servers compiled
with SSL, they were 10 & 11 out of 33 total columns.  This patch looks
for matching column names, rather than assuming the location of the
right columns.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_mysql.c.diff
Type: text/x-patch
Size: 1338 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20050524/965b6b59/attachment.bin>


More information about the Devel mailing list