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