MySQL

Check MySQL Slave

Description:

This is an update of check_mysqlslaverun.sh.

In addition to ensuring that the slave is running, it will also record the seconds behind, and issue a WARNING when the slave is more than 10 seconds behind.

Current Version

0.0.1

Last Release Date

2012-07-12

Compatible With

License

MIT


Project Files
Project Notes
Pretty simple to use. ARG1 = username ARG2 = password $USER1$/check_mysqlslave.sh -u $ARG1$ -p $ARG2$ -H $HOSTADDRESS$ Make sure the user specified has either SUPER or REPLICATION CLIENT privileges.
Reviews (2) Add a Review
Redundant, already included in check_mysql plugin
by nkadel, February 28, 2015

See above review. This script is now redundant: it's built into the nagios-plugins published 'check_mysql' package, which is tested and maintained. Use 'check_mysql -S' and review the options desired.



Not portable
by jtnix, January 31, 2013

very basic options and script is completely not portable nor does it feature a default exit code / message if any of the enclosed script fails to path and run. Spent hours troubleshooting dreaded 'NRPE: Unable to read output' before getting it to work. Basically ended up rewriting the thing from scratch.



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
1 (2)
Favorites
0
Views
67,203