freebsd-ports/net-mgmt/nagios-check_netsnmp/Makefile
Dmitry Sivachenko f561562808 A plugin for Nagios to query common NetSNMP-exported information:
-- disk status;
-- processes status;
-- swap status;
-- load averages;
-- anything else exported via NetSNMP's exec or extend directives.

Feature safe:	yes
2011-12-07 14:24:20 +00:00

31 lines
854 B
Makefile

# New ports collection makefile for: nagios-check_netsnmp
# Date created: 7 December 2011
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= check_netsnmp
PORTVERSION= 1.0
CATEGORIES= net-mgmt
MASTER_SITES= # none
PKGNAMEPREFIX= nagios-
DISTFILES= # none
MAINTAINER= demon@FreeBSD.org
COMMENT= Nagios plug-in to get some common NetSNMP-exported information
RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/utils.pm:${PORTSDIR}/net-mgmt/nagios-plugins \
${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP
USE_PERL5_RUN= yes
NO_BUILD= yes
PLIST_FILES= libexec/nagios/check_netsnmp %%DOCSDIR%%/check_netsnmp.html
PLIST_DIRS= %%DOCSDIR%%
do-install:
${INSTALL_SCRIPT} ${FILESDIR}/check_netsnmp ${PREFIX}/libexec/nagios
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${FILESDIR}/check_netsnmp.html ${DOCSDIR}
.include <bsd.port.mk>