MySQL

check mysql slave sql running

Description:

checks to see if mysql slave sql is running. written in a shell script, so its easily portable.

Current Version

Last Release Date

May 28, 2009

Compatible With


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Project Files
Project Notes
checks to see if mysql slave sql is running. written in a shell script, so its easily portable.
Reviews (4) Add a Review
Redundant, already included in check_mysql plugin
by nkadel, February 28, 2015
This is 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.
Helpful? Yes  No 
I get the script working but
by basd82, October 31, 2011
I got the script to work.
the write left out the host part.
to fix this you need to answer line to:
answer=`$mysqlpath/mysql -u $user -p$pass -h $host -e 'show slave statusG' | /bin/grep Slave_SQL_Running | /usr/bin/cut -f2 -d:`
Helpful? Yes  No 
Lot of issues
by talonx, November 30, 2010
There's no support for a custom port. And the host parameter seems to be completely ignored.
Helpful? Yes  No 
nice script!
by uneaqs, March 31, 2010
works very well, thank you!
Helpful? Yes  No 
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
2 (5)
Favorites
0
Views
106,493