[Nagiosplug-devel] check_mysql_replication program

Dave Viner dviner at yahoo-inc.com
Mon Dec 16 20:35:05 CET 2002


Here's a little plugin that checks the status of MySQL replication between a
master and a slave MySQL db.  I've tried it with both version 3 and version
4 instances of MySQL, and as far as I can tell it works properly.  I'm
attaching the code itself, and the patch file which adds it to the
configure.in and the plugins/Makefile.am.

Please let me know what you think of it.  I think its pretty cool and
useful, especially since the current check_mysql doesn't handle replication.

What do you think ?

Thanks
Dave Viner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_mysql_replication.c
Type: application/octet-stream
Size: 11019 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20021216/d2d89f1f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_mysql_replication.patch
Type: application/octet-stream
Size: 2571 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20021216/d2d89f1f/attachment-0001.obj>


More information about the Devel mailing list