mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
The check_mysql_slave plugin allows you to check that a particular
MySQL replication slave is running and (coming soon) is within a threshold bytes or seconds behind its master. WWW: http://buhacoff.net/software/check_mysql_slave PR: ports/157066 Submitted by: Ryan Steinmetz <rpsfa@rit.edu>
This commit is contained in:
parent
dc179b2937
commit
f509d17ab4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=274774
@ -120,6 +120,7 @@
|
||||
SUBDIR += nagios-check_ice
|
||||
SUBDIR += nagios-check_kumofs
|
||||
SUBDIR += nagios-check_memcached_paranoid
|
||||
SUBDIR += nagios-check_mysql_slave
|
||||
SUBDIR += nagios-check_nick
|
||||
SUBDIR += nagios-check_ports
|
||||
SUBDIR += nagios-check_puppet
|
||||
|
38
net-mgmt/nagios-check_mysql_slave/Makefile
Normal file
38
net-mgmt/nagios-check_mysql_slave/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# New ports collection makefile for: nagios-check_mysql_slave
|
||||
# Date created: 15 May 2011
|
||||
# Whom: Ryan Steinmetz
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= check_mysql_slave
|
||||
PORTVERSION= 0.1.1
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= http://buhacoff.net/2009/products/check_mysql_slave/archive/ \
|
||||
http://people.rit.edu/rpsfa/
|
||||
PKGNAMEPREFIX= nagios-
|
||||
|
||||
MAINTAINER= rpsfa@rit.edu
|
||||
COMMENT= Nagios Plugin to monitor MySQL replication on a slave
|
||||
|
||||
RUN_DEPENDS= p5-DBI>=1.60.7:${PORTSDIR}/databases/p5-DBI \
|
||||
p5-DBD-mysql>0:${PORTSDIR}/databases/p5-DBD-mysql
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_PERL5_RUN= yes
|
||||
DOC_FILES= check_mysql_slave.html check_mysql_slave.pod
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/libexec/nagios
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/check_mysql_slave ${PREFIX}/libexec/nagios/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/check_mysql_slave_epn ${PREFIX}/libexec/nagios/
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOC_FILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/docs/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
net-mgmt/nagios-check_mysql_slave/distinfo
Normal file
2
net-mgmt/nagios-check_mysql_slave/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (check_mysql_slave-0.1.1.tar.gz) = 9a757866437c29139c4061f628efdc236dfc47b4d3db80759c2fa2d032f41944
|
||||
SIZE (check_mysql_slave-0.1.1.tar.gz) = 13711
|
5
net-mgmt/nagios-check_mysql_slave/pkg-descr
Normal file
5
net-mgmt/nagios-check_mysql_slave/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
The check_mysql_slave plugin allows you to check that a particular
|
||||
MySQL replication slave is running and (coming soon) is within a
|
||||
threshold bytes or seconds behind its master.
|
||||
|
||||
WWW: http://buhacoff.net/software/check_mysql_slave
|
6
net-mgmt/nagios-check_mysql_slave/pkg-plist
Normal file
6
net-mgmt/nagios-check_mysql_slave/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
libexec/nagios/check_mysql_slave
|
||||
libexec/nagios/check_mysql_slave_epn
|
||||
%%PORTDOCS%%%%DOCSDIR%%/check_mysql_slave.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/check_mysql_slave.pod
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrmtry libexec/nagios
|
Loading…
Reference in New Issue
Block a user