Home Directory Plugins Databases Others check_mysqlrouter.sh

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_mysqlrouter.sh

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2024-09-16
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
License
GPL
Hits
533
Files:
FileDescription
check_mysqlrouter.shcheck_mysqlrouter.sh
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!
check_mysqlrouter.sh
Simple but effective script shell to monitor mysql-router service status.
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