Home Directory Plugins Databases MySQL check_replication_slave

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_replication_slave

Rating
4 votes
Favoured:
0
Hits
99581
Files:
FileDescription
check_replication_slave.txtnone
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Nagios plugin to check status of Mysql replication slave.
Nagios plugin to check status of Mysql replication slave.

Written in PHP, this plugin checks the state of SLAVE IO, SLAVE SQL engine and Seconds behind Master.
Reviews (3)
This is redundant: it's built into the nagios-plugins published 'check_mysql' package, which is tested and maintained. Use 'check_mysql -S' and review the options desired.
bycz01, November 30, 2011
Can you explain me how to use it. Because, i usually use PERL Plugins and don't understand where this script/plugins should place it.

Thank you
works ok but there is an error in return error call, the last line is:

exit ($errors[$state]);

and should be:

exit ((int)$errors[$state]);


Because error number should be and int and not a string to works ok.