Home Directory Plugins Databases MySQL mysql_slave_check_multimaster

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

mysql_slave_check_multimaster

Rating
0 votes
Favoured:
0
Current Version
0.9.1
Last Release Date
2016-04-14
Compatible With
  • Nagios 4.x
Hits
6136
Files:
FileDescription
mysql_slave_check_multimaster.phpVersion 0.9.1 of the monitor.
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!
mysql_slave_check_multimaster
A MySQL check that reports on all channels of a multi-master slave.
-- Description --

A MySQL slave check written in php that reports on all channels with Multi Master slave replication available as of MySQL 5.7. The plugin also work with previous version or mysql where there's only one slave thread.

---Usage---

/usr/bin/php mysql_slave_check_multimaster.php -c critical_delay -w warning_delay [-h mysqlserver[:port]] [-u user] [-p password]


---Parameters---
-h mysql server [localhost[:port]]
-u mysql account that has access to show processlist and show slave status [root]
-p password to the mysql account []
-c raise critical delay if replication delay is greater then pecificed value
-w raise warning delay if replication delay is greater then specificed value


---Example---

/usr/bin/php /usr/local/nagios-custom-checks/mysql_slave_check_multimaster.php -h host.name:7309 -u mysqluser -p password -w 500 -c 2000

NOTE: The port number can be appended (or omitted) after the host name separated by a semicolumn.