summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2014-04-26 15:55:12 +0000
committermanu <manu@pkgsrc.org>2014-04-26 15:55:12 +0000
commit245682df7bb98f1854f68c4e22de200f8264a51b (patch)
treec4a8911caca4a8632a28f13646d7b2739a672e04 /net
parent3392e64ffc692c0b107c510abd34dcedab1bbcf2 (diff)
downloadpkgsrc-245682df7bb98f1854f68c4e22de200f8264a51b.tar.gz
Adding net/nagios-plugin-fstab version 0.1
This tests that everything listed in /etc/fstab is really mounted or used as swap.
Diffstat (limited to 'net')
-rw-r--r--net/Makefile3
-rw-r--r--net/nagios-plugin-fstab/DESCR4
-rw-r--r--net/nagios-plugin-fstab/Makefile26
-rw-r--r--net/nagios-plugin-fstab/PLIST2
-rw-r--r--net/nagios-plugin-fstab/distinfo5
5 files changed, 39 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile
index 7e8dbe876bf..d8aac2bff02 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1010 2014/04/26 03:29:30 jnemeth Exp $
+# $NetBSD: Makefile,v 1.1011 2014/04/26 15:55:12 manu Exp $
#
COMMENT= Networking tools
@@ -323,6 +323,7 @@ SUBDIR+= nagios-nrpe
SUBDIR+= nagios-nsca
SUBDIR+= nagios-plugin-dotpid
SUBDIR+= nagios-plugin-dumpdates
+SUBDIR+= nagios-plugin-fstab
SUBDIR+= nagios-plugin-ldap
SUBDIR+= nagios-plugin-milter
SUBDIR+= nagios-plugin-mysql
diff --git a/net/nagios-plugin-fstab/DESCR b/net/nagios-plugin-fstab/DESCR
new file mode 100644
index 00000000000..749451482af
--- /dev/null
+++ b/net/nagios-plugin-fstab/DESCR
@@ -0,0 +1,4 @@
+$NetBSD: DESCR,v 1.1 2014/04/26 15:55:12 manu Exp $
+
+This Nagios plugin checks that 'auto' volumes (filesystems and swaps)
+from fstab are active.
diff --git a/net/nagios-plugin-fstab/Makefile b/net/nagios-plugin-fstab/Makefile
new file mode 100644
index 00000000000..275b8fd45f1
--- /dev/null
+++ b/net/nagios-plugin-fstab/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2014/04/26 15:55:12 manu Exp $
+#
+
+PKGNAME= nagios-plugin-fstab-${DISTNAME:C/.*-//}
+DISTNAME= check_fstab-0.1
+PKGREVISION= 1
+CATEGORIES= net
+MASTER_SITES= http://ftp.espci.fr/pub/nagios-local/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= manu@NetBSD.org
+HOMEPAGE= http://ftp.espci.fr/pub/nagios-local/
+COMMENT= Mount points and swaps monitoring plugin for Nagios
+LICENSE= modified-bsd
+
+ONLY_FOR_PLATFORM= FreeBSD-*-* NetBSD-*-* OpenBSD-*-* DragonFly-*-*
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS+= libexec/nagios
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/check_fstab \
+ ${DESTDIR}${PREFIX}/libexec/nagios/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/nagios-plugin-fstab/PLIST b/net/nagios-plugin-fstab/PLIST
new file mode 100644
index 00000000000..3edd3633a78
--- /dev/null
+++ b/net/nagios-plugin-fstab/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2014/04/26 15:55:12 manu Exp $
+libexec/nagios/check_fstab
diff --git a/net/nagios-plugin-fstab/distinfo b/net/nagios-plugin-fstab/distinfo
new file mode 100644
index 00000000000..0debbc3c4af
--- /dev/null
+++ b/net/nagios-plugin-fstab/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/04/26 15:55:12 manu Exp $
+
+SHA1 (check_fstab-0.1.tgz) = f78f8015a6aa484c30081077f1d58497c1daf60c
+RMD160 (check_fstab-0.1.tgz) = 5df7ecc26174acc7741739bacb7592ca2af46d48
+Size (check_fstab-0.1.tgz) = 2042 bytes