aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2011-04-29 05:59:12 +0800
committerflo <flo@FreeBSD.org>2011-04-29 05:59:12 +0800
commiteb3ab307fe02621b4cadf96344493d464c669d1b (patch)
treed2465fd2ced5351a04af52fa2e583e5593824738 /net-mgmt
parentd714cbf236d5f3a6b6161f49b326745b3a7315bd (diff)
downloadfreebsd-ports-gnome-eb3ab307fe02621b4cadf96344493d464c669d1b.tar.gz
freebsd-ports-gnome-eb3ab307fe02621b4cadf96344493d464c669d1b.tar.zst
freebsd-ports-gnome-eb3ab307fe02621b4cadf96344493d464c669d1b.zip
Add new port net-mgmt/check_logfiles
Nagios plugin which scans log files for specific patterns. This plugin looks for patterns in files. It is capable of detecting logfile rotation. If you tell it how the rotated archives look like, it will also examine these files. Traditional logfile plugins were not aware of the gap which could occur, so under some circumstances they ignored what had happened between their checks. In a production environment this is not tolerable, that's why check_logfiles came into being. WWW: http://labs.consol.de/lang/en/nagios/check_logfiles/
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/check_logfiles/Makefile21
-rw-r--r--net-mgmt/check_logfiles/distinfo2
-rw-r--r--net-mgmt/check_logfiles/pkg-descr8
-rw-r--r--net-mgmt/check_logfiles/pkg-plist2
5 files changed, 34 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 2cec206d34eb..ba608e13ec90 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -41,6 +41,7 @@
SUBDIR += cdpr
SUBDIR += cfgstoragemk
SUBDIR += cflowd
+ SUBDIR += check_logfiles
SUBDIR += check_multi
SUBDIR += check_mysql_health
SUBDIR += check_snmp_pkgvuln
diff --git a/net-mgmt/check_logfiles/Makefile b/net-mgmt/check_logfiles/Makefile
new file mode 100644
index 000000000000..1131e4b80686
--- /dev/null
+++ b/net-mgmt/check_logfiles/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: check_logfile
+# Date created: 11 Mar 2011
+# Whom: flo@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= check_logfiles
+PORTVERSION= 3.4.3.1
+CATEGORIES= net-mgmt
+MASTER_SITES= http://labs.consol.de/wp-content/uploads/2011/03/
+
+MAINTAINER= flo@FreeBSD.org
+COMMENT= Nagios plugin which scans log files for specific patterns
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+CONFIGURE_ARGS+= --with-trusted-path=/bin:/sbin:/usr/bin:/usr/sbin:${LOCALBASE}/bin:${LOCALBASE}/sbin \
+ --libexecdir=${PREFIX}/libexec/nagios \
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/check_logfiles/distinfo b/net-mgmt/check_logfiles/distinfo
new file mode 100644
index 000000000000..40eb5f910846
--- /dev/null
+++ b/net-mgmt/check_logfiles/distinfo
@@ -0,0 +1,2 @@
+SHA256 (check_logfiles-3.4.3.1.tar.gz) = f1555dc2e7008dbc3562746b9e106e51282917532c4db3ace6c9f966ed04fd1e
+SIZE (check_logfiles-3.4.3.1.tar.gz) = 189867
diff --git a/net-mgmt/check_logfiles/pkg-descr b/net-mgmt/check_logfiles/pkg-descr
new file mode 100644
index 000000000000..a2d4cfffff6f
--- /dev/null
+++ b/net-mgmt/check_logfiles/pkg-descr
@@ -0,0 +1,8 @@
+This plugin looks for patterns in files. It is capable of detecting
+logfile rotation. If you tell it how the rotated archives look like, it
+will also examine these files. Traditional logfile plugins were not aware
+of the gap which could occur, so under some circumstances they ignored
+what had happened between their checks. In a production environment
+this is not tolerable, that's why check_logfiles came into being.
+
+WWW: http://labs.consol.de/lang/en/nagios/check_logfiles/
diff --git a/net-mgmt/check_logfiles/pkg-plist b/net-mgmt/check_logfiles/pkg-plist
new file mode 100644
index 000000000000..84b00f808b3a
--- /dev/null
+++ b/net-mgmt/check_logfiles/pkg-plist
@@ -0,0 +1,2 @@
+libexec/nagios/check_logfiles
+@dirrmtry libexec/nagios