diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2010-11-09 00:57:58 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2010-11-09 00:57:58 +0800 |
commit | 2b65f8385dc08be72694d2ff72e4c6cea55f36b1 (patch) | |
tree | bd7ff4046cdfd84c75ba90f0a8cba069070e1e84 /net-mgmt | |
parent | 757a16b5063ebc62f03a95f662b13bf61fd17478 (diff) | |
download | freebsd-ports-gnome-2b65f8385dc08be72694d2ff72e4c6cea55f36b1.tar.gz freebsd-ports-gnome-2b65f8385dc08be72694d2ff72e4c6cea55f36b1.tar.zst freebsd-ports-gnome-2b65f8385dc08be72694d2ff72e4c6cea55f36b1.zip |
a plugin to check various parameters of a MySQL database
WWW: http://labs.consol.de/lang/en/nagios/check_mysql_health/
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/check_mysql_health/Makefile | 38 | ||||
-rw-r--r-- | net-mgmt/check_mysql_health/distinfo | 3 | ||||
-rw-r--r-- | net-mgmt/check_mysql_health/pkg-descr | 3 |
4 files changed, 45 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index ad51b139ee67..3cf2b8aed32c 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -41,6 +41,7 @@ SUBDIR += cfgstoragemk SUBDIR += cflowd SUBDIR += check_multi + SUBDIR += check_mysql_health SUBDIR += check_snmp_pkgvuln SUBDIR += chillispot SUBDIR += choparp diff --git a/net-mgmt/check_mysql_health/Makefile b/net-mgmt/check_mysql_health/Makefile new file mode 100644 index 000000000000..05a0372e1d81 --- /dev/null +++ b/net-mgmt/check_mysql_health/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: check_mysql_health +# Date created: November 8, 2010 +# Whom: pgollucci@p6m7g8.com +# +# $FreeBSD$ +# + +PORTNAME= check_mysql_health +PORTVERSION= 2.1.3 +CATEGORIES= net-mgmt +MASTER_SITES= http://labs.consol.de/wp-content/uploads/2010/10/ + +MAINTAINER= pgollucci@FreeBSD.org +COMMENT= Nagios plugin to check various parameters of a MySQL database + +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql + +LICENSE= GPLv2 + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-statefiles-dir=${NAGIOSDIR} \ + --with-nagios-user=${NAGIOSUSER} \ + --with-nagios-group=${NAGIOSGROUP} \ + --with-mymodules-dir=${PREFIX}/libexec/nagios \ + --with-mymodules-dyn-dir=${PREFIX}/libexec/nagios \ + --libexecdir=${PREFIX}/libexec/nagios \ + --with-perl=${PERL} + +USE_PERL5= yes + +NAGIOSUSER?= nagios +NAGIOSGROUP?= nagios +NAGIOSDIR?= /var/spool/nagios + +PLIST_FILES= libexec/nagios/check_mysql_health +PLIST_DIRS= libexec/nagios + +.include <bsd.port.mk> diff --git a/net-mgmt/check_mysql_health/distinfo b/net-mgmt/check_mysql_health/distinfo new file mode 100644 index 000000000000..d64175640940 --- /dev/null +++ b/net-mgmt/check_mysql_health/distinfo @@ -0,0 +1,3 @@ +MD5 (check_mysql_health-2.1.3.tar.gz) = c8594745a3aecf07569d6f40dca0b40c +SHA256 (check_mysql_health-2.1.3.tar.gz) = 55bdc589034105b09a7fcbed94f85c1f379da23fe00212b15b3f5a78be1d322e +SIZE (check_mysql_health-2.1.3.tar.gz) = 115861 diff --git a/net-mgmt/check_mysql_health/pkg-descr b/net-mgmt/check_mysql_health/pkg-descr new file mode 100644 index 000000000000..4c5de503d158 --- /dev/null +++ b/net-mgmt/check_mysql_health/pkg-descr @@ -0,0 +1,3 @@ +a plugin to check various parameters of a MySQL database + +WWW: http://labs.consol.de/lang/en/nagios/check_mysql_health/ |