Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
jakob
byjakob, July 14, 2011
Only needs the mysql command line client, which is nice.
Needed some rework to work well, new version here:
http://pastebin.com/jkzC8pDe (full)
http://pastebin.com/dybGAjzg (diff)
Problems fixed are:
- Connection failure not handled at all
- Error messages from mysql not captured
- Garbage output when called without command line arguments
- Does not work at all because of use of "==" bashish, despite calling /bin/sh
- cut is in /usr/bin, not /bin, at least on Debian/Ubuntu
Thanks for the plugin!
Needed some rework to work well, new version here:
http://pastebin.com/jkzC8pDe (full)
http://pastebin.com/dybGAjzg (diff)
Problems fixed are:
- Connection failure not handled at all
- Error messages from mysql not captured
- Garbage output when called without command line arguments
- Does not work at all because of use of "==" bashish, despite calling /bin/sh
- cut is in /usr/bin, not /bin, at least on Debian/Ubuntu
Thanks for the plugin!
byjakob, July 14, 2011
Looks like this is the successor:
http://exchange.nagios.org/directory/Plugins/Databases/MySQL/MySQL-Replication-Lag-Time/details
(adds the ability to specify a host)
http://exchange.nagios.org/directory/Plugins/Databases/MySQL/MySQL-Replication-Lag-Time/details
(adds the ability to specify a host)