mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
07986829fb
PR: 184375 Submitted by: rand (iteris.com) ================================================================ A plugin for Nagios to query relayd status. It returns a warning if not all hosts in a table are up and a critical if a table and/or redirect is totally down.
32 lines
709 B
Makefile
32 lines
709 B
Makefile
# Created by: Douglas K. Rand <rand@iteris.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= check_relayd_status
|
|
PORTVERSION= 1.1
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= # none
|
|
PKGNAMEPREFIX= nagios-
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= rand@iteris.com
|
|
COMMENT= Nagios plug-in to check on the status of relayd
|
|
|
|
LICENSE= MPL
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/sbin/relayctl:${PORTSDIR}/net/relayd
|
|
|
|
USES= perl5 shebangfix
|
|
USE_PERL5= run
|
|
SHEBANG_FILES= check_relayd_status
|
|
NO_BUILD= yes
|
|
|
|
do-extract:
|
|
@${MKDIR} ${WRKSRC}
|
|
${INSTALL_SCRIPT} ${FILESDIR}/check_relayd_status ${WRKSRC}
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
|
|
${INSTALL_SCRIPT} ${WRKSRC}/check_relayd_status ${STAGEDIR}${PREFIX}/libexec/nagios/
|
|
|
|
.include <bsd.port.mk>
|