pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add nagios-plugin-mysql_health
Module Name: pkgsrc-wip
Committed By: Kethzer Docteur <kethzer.dr%gmail.com@localhost>
Pushed By: kethzer.dr
Date: Tue Jan 22 09:03:52 2019 -0400
Changeset: 7e08d66e8e50dcf9a0bb6d635195619c66accd03
Modified Files:
Makefile
Added Files:
nagios-plugin-mysql_health/DESCR
nagios-plugin-mysql_health/Makefile
nagios-plugin-mysql_health/PLIST
nagios-plugin-mysql_health/distinfo
Log Message:
Add nagios-plugin-mysql_health
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7e08d66e8e50dcf9a0bb6d635195619c66accd03
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
nagios-plugin-mysql_health/DESCR | 2 ++
nagios-plugin-mysql_health/Makefile | 33 +++++++++++++++++++++++++++++++++
nagios-plugin-mysql_health/PLIST | 2 ++
nagios-plugin-mysql_health/distinfo | 6 ++++++
5 files changed, 44 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index e0466736c6..7bdddb1ff7 100644
--- a/Makefile
+++ b/Makefile
@@ -2233,6 +2233,7 @@ SUBDIR+= mysqltcl
SUBDIR+= n2n
SUBDIR+= naev
SUBDIR+= nag
+SUBDIR+= nagios-plugin-mysql_health
SUBDIR+= naqsh-ttf
SUBDIR+= natali
SUBDIR+= naturaldocs
diff --git a/nagios-plugin-mysql_health/DESCR b/nagios-plugin-mysql_health/DESCR
new file mode 100644
index 0000000000..b74fe1738f
--- /dev/null
+++ b/nagios-plugin-mysql_health/DESCR
@@ -0,0 +1,2 @@
+The check_mysql_health Nagios plugin checks various parameters of a MySQL
+database.
diff --git a/nagios-plugin-mysql_health/Makefile b/nagios-plugin-mysql_health/Makefile
new file mode 100644
index 0000000000..b477c983ad
--- /dev/null
+++ b/nagios-plugin-mysql_health/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD$
+
+DISTNAME= check_mysql_health-2.2.2
+PKGNAME= nagios-plugin-${DISTNAME:S/check_//1}
+CATEGORIES= net
+MASTER_SITES= https://labs.consol.de/assets/downloads/nagios/
+
+MAINTAINER= rodent%NetBSD.org@localhost
+HOMEPAGE= https://labs.consol.de/nagios/check_mysql_health/
+COMMENT= Nagios plugin to check various parameters of a MySQL database
+LICENSE= gnu-gpl-v2
+
+DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI
+DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= # none
+USE_TOOLS+= perl:run
+
+.include "../../net/nagios-base/Makefile.common"
+
+BUILD_DEFS+= NAGIOS_USER NAGIOS_GROUP VARBASE
+CONFIGURE_ARGS+= --with-nagios-user=${NAGIOS_USER:Q}
+CONFIGURE_ARGS+= --with-nagios-group=${NAGIOS_GROUP:Q}
+CONFIGURE_ARGS+= --with-mymodules-dir=${PREFIX}/libexec/nagios
+CONFIGURE_ARGS+= --with-mymodules-dyn-dir=${PREFIX}/libexec/nagios
+CONFIGURE_ARGS+= --with-statefiles-dir=${VARBASE}/tmp/check_mysql_health
+
+PKG_USERS+= ${NAGIOS_USER}:${NAGIOS_GROUP}
+
+INSTALLATION_DIRS+= ${VARBASE}/tmp/check_mysql_health
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/nagios-plugin-mysql_health/PLIST b/nagios-plugin-mysql_health/PLIST
new file mode 100644
index 0000000000..2d74373946
--- /dev/null
+++ b/nagios-plugin-mysql_health/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+libexec/nagios/check_mysql_health
diff --git a/nagios-plugin-mysql_health/distinfo b/nagios-plugin-mysql_health/distinfo
new file mode 100644
index 0000000000..b21dfcec9e
--- /dev/null
+++ b/nagios-plugin-mysql_health/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (check_mysql_health-2.2.2.tar.gz) = 3861f3201c6eae66650c02ebe0ac172c2573bb2e
+RMD160 (check_mysql_health-2.2.2.tar.gz) = e5d061bdfd22423c5faeb468b057a4670c90c041
+SHA512 (check_mysql_health-2.2.2.tar.gz) = 027e47747aba524d8c7d168f6c440271434db2e152e59821eff06449d98919ab343a7840ecf73a1fcbc864799d6d3094088bb06f6b36b16989a5184676ae2628
+Size (check_mysql_health-2.2.2.tar.gz) = 140250 bytes
Home |
Main Index |
Thread Index |
Old Index