MySQL

check_innodbcluster.sh

Description:

Simple but effective script shell (dash) to check InnoDB Cluster’s node status (requires netcat package).

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
This simple but effective script shell (dash) will return detailed information about the status of an InnoDB Cluster node, including status (online, recovering, offline, etc...), node type (primary/secondary) and Lag. This script shell requires the netcat package (apt install netcat). Tested on Debian 11/12 and Ubuntu 18/20/22. note: remember to assign execute permission to the script shell (chmod u+x check_innodbcluster.sh) ======= Usage: check_innodbcluster.sh -H Host/IP -P Port -u User -p Password example => check_innodbcluster.sh -u MyUser -p MyPassword example => check_innodbcluster.sh -H10.10.0.125 -P3307 -uMyUser -pMyPassword =arguments and default values if arg is missing= -H = host/IP {def: 127.0.0.1} -P = Port {def: 3306} -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
318