Others

check_mysqlrouter.sh

Description:

Simple but effective script shell to monitor mysql-router service status.

Current Version

1.0

Last Release Date

2024-09-16

Compatible With

  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x

Owner

License

GPL


Project Files
Project Photos
Project Notes
Simple script shell (dash) to check/monitor the mysql-router status (as service) and connection (as cluster). Default mysql-router ports are 6446 and 6447 (edit the script to change upon your needs). Tested on: Ubuntu 18, 20, 22 and Debian 11/12 note: remember to assign execute permission to the script (chmod +x check_mysqlrouter.sh) ======= Usage: check_mysqlrouter.sh -H Host/IP -u User -p Password example => check_mysqlrouter.sh -u MyUser -p MyPassword example => check_mysqlrouter.sh -H10.10.0.125 -uMyUser -pMyPassword =arguments and default values if arg is missing= -H = host/IP {def: 127.0.0.1} -u = UserName {def: MyCoolUser} -p = Password {def: MyCoolPasswd} -h = this help .:: notes ::. .: arguments order is not relevant .: between argument and value can be a space or not
Reviews (0) Add a Review
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
0 (0)
Favorites
0
Views
365