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/
21 lines
580 B
Makefile
21 lines
580 B
Makefile
# 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>
|