Share

Nagios Plugin Development

Tracker: Patches

5 Add slave check to check_mysql - ID: 1006777
Last Update: Comment added ( mattkent )

This patch adds a new option to the check_mysql plugin
(-S) that will check the slave status by issuing the
command "show slave status'. Additional permissions
are required for the user that check_mysql connects as.
For MySQL 4.x, the permissions 'usage' and 'super' are
required. For MySQL 3.23.x, the permissions 'usage' and
'process' are required. This patch should apply
against nagios-plugins-1.4.0alpha1 and the latest
version in CVS as of 2004-08-10.

Thanks,
Nathan Shafer


Nathan Shafer ( nicodemus ) - 2004-08-10 18:43

5

Closed

Accepted

Matthew Kent

Enhancement

None

Public


Comment ( 1 )

Date: 2004-11-21 05:25
Sender: mattkent

Logged In: YES
user_id=983566

Looks great. Tested okay and applied in HEAD. Thanks!


Attached File ( 1 )

Filename Description Download
check_mysql.check_slave.patch check_mysql slave check patch Download

Changes ( 5 )

Field Old Value Date By
status_id Open 2004-11-21 05:25 mattkent
resolution_id None 2004-11-21 05:25 mattkent
assigned_to nobody 2004-11-21 05:25 mattkent
close_date - 2004-11-21 05:25 mattkent
File Added 97188: check_mysql.check_slave.patch 2004-08-10 18:43 nicodemus