Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_mysqlrouter.sh
1.0
2024-09-16
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
GPL
533
File | Description |
---|---|
check_mysqlrouter.sh | check_mysqlrouter.sh |
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!
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
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)
Be the first to review this listing!