Home Directory Plugins Databases MySQL check mysql slave io running

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 mysql slave io running

Rating
0 votes
Favoured:
0
Hits
100860
Files:
FileDescription
check_mysqlslaveio.shcheck_mysqlslaveio.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
checks to see if mysql slave io is running. written in a shell script, so its easily portable.
checks to see if mysql slave io is running. written in a shell script, so its easily portable.
Reviews (1)
The script workt great after i made some modification. the wrote left out the host part.

so i changed answer= to
answer=`$mysqlpath/mysql -u $user -p$pass -h $host -e 'show slave status\G' | /bin/grep Slave_IO_Running | /usr/bin/cut -f2 -d:`