aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorTom Judge <tj@FreeBSD.org>2016-03-26 18:19:26 +0000
committerTom Judge <tj@FreeBSD.org>2016-03-26 18:19:26 +0000
commitfc3a02aaf3555bd4db4ec7acd4a5f7ecc4ca5bef (patch)
tree59aa9babc42033e968757395e5537d9b38766ed1 /net-mgmt
parent5af319b80cd4c23863f1226686fa4a750e010eac (diff)
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/nagios-check_zpools/Makefile30
-rw-r--r--net-mgmt/nagios-check_zpools/distinfo2
-rw-r--r--net-mgmt/nagios-check_zpools/pkg-descr4
4 files changed, 37 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index bb239ef17c69..c4e96173a062 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -129,6 +129,7 @@
SUBDIR += nagios-check_relayd_status
SUBDIR += nagios-check_smartmon
SUBDIR += nagios-check_tftp
+ SUBDIR += nagios-check_zpools
SUBDIR += nagios-geom
SUBDIR += nagios-openldap-plugins
SUBDIR += nagios-pf-plugin
diff --git a/net-mgmt/nagios-check_zpools/Makefile b/net-mgmt/nagios-check_zpools/Makefile
new file mode 100644
index 000000000000..616485f5f31b
--- /dev/null
+++ b/net-mgmt/nagios-check_zpools/Makefile
@@ -0,0 +1,30 @@
+# Created by: Tom Judge <tj@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= check_zpools
+PORTVERSION= 1.0
+CATEGORIES= net-mgmt
+MASTER_SITES= GH
+PKGNAMEPREFIX= nagios-
+
+MAINTAINER= tj@FreeBSD.org
+COMMENT= Nagios plugin that checks zpool state
+
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
+
+USE_GITHUB= yes
+GH_ACCOUNT= Napsty
+GH_PROJECT= check_zpools
+GH_TAGNAME= 0334625
+NO_BUILD= yes
+USES= shebangfix
+SHEBANG_FILES= check_zpools.sh
+
+PLIST_FILES= libexec/nagios/check_zpools
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
+ ${INSTALL_SCRIPT} ${WRKSRC}/check_zpools.sh \
+ ${STAGEDIR}${PREFIX}/libexec/nagios/check_zpools
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/nagios-check_zpools/distinfo b/net-mgmt/nagios-check_zpools/distinfo
new file mode 100644
index 000000000000..e35e33dc791a
--- /dev/null
+++ b/net-mgmt/nagios-check_zpools/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Napsty-check_zpools-1.0-0334625_GH0.tar.gz) = ce4b54bf5efbbd9904310abfb6e89330eb9a67e5e6b6219bb3dc7a88a27e2d05
+SIZE (Napsty-check_zpools-1.0-0334625_GH0.tar.gz) = 2248
diff --git a/net-mgmt/nagios-check_zpools/pkg-descr b/net-mgmt/nagios-check_zpools/pkg-descr
new file mode 100644
index 000000000000..773226711dc8
--- /dev/null
+++ b/net-mgmt/nagios-check_zpools/pkg-descr
@@ -0,0 +1,4 @@
+A Nagios/Icinga plugin to monitor ZFS Pools (zpools). It is based on "Check
+Solaris ZFS Pools" but is completely rewritten.
+
+WWW: https://github.com/Napsty/check_zpools