Home Directory

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

Directory

basd82

Reviews(2)
bybasd82, October 5, 2011
I got the script to work.
the write left out the host part.
to fix this you need to answer line to:
answer=`$mysqlpath/mysql -u $user -p$pass -h $host -e 'show slave status\G' | /bin/grep Slave_SQL_Running | /usr/bin/cut -f2 -d:`
bybasd82, October 5, 2011
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:`