diff options
author | Florian Smeets <flo@FreeBSD.org> | 2011-04-28 21:59:12 +0000 |
---|---|---|
committer | Florian Smeets <flo@FreeBSD.org> | 2011-04-28 21:59:12 +0000 |
commit | 758396906ac6cf4abe806e9dcb172c5f3804be56 (patch) | |
tree | 2ee694f973c34f372272a0e87bbb01a72dac1c6f /net-mgmt | |
parent | 8570eb69d2041ebac4d8ee2db23ea76c42f45b7c (diff) |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/check_logfiles/Makefile | 21 | ||||
-rw-r--r-- | net-mgmt/check_logfiles/distinfo | 2 | ||||
-rw-r--r-- | net-mgmt/check_logfiles/pkg-descr | 8 | ||||
-rw-r--r-- | net-mgmt/check_logfiles/pkg-plist | 2 |
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 |