From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 15 22:10:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 95C90926 for ; Sat, 15 Mar 2014 22:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6B89CADE for ; Sat, 15 Mar 2014 22:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2FMA1X8027736 for ; Sat, 15 Mar 2014 22:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2FMA1Bk027735; Sat, 15 Mar 2014 22:10:01 GMT (envelope-from gnats) Resent-Date: Sat, 15 Mar 2014 22:10:01 GMT Resent-Message-Id: <201403152210.s2FMA1Bk027735@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lawrence "The Dreamer" Chen Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9A5D85A for ; Sat, 15 Mar 2014 22:05:55 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 667C0AB2 for ; Sat, 15 Mar 2014 22:05:54 +0000 (UTC) Received: from ip70-179-144-228.fv.ks.cox.net ([70.179.144.228] helo=zen.lhaven.homeip.net) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WOwiH-000G3F-R2 for FreeBSD-gnats-submit@freebsd.org; Sat, 15 Mar 2014 22:05:54 +0000 Received: from zen.lhaven.homeip.net (localhost [127.0.0.1]) by zen.lhaven.homeip.net (8.14.8/8.14.7) with ESMTP id s2FM5pcs080549; Sat, 15 Mar 2014 17:05:51 -0500 (CDT) (envelope-from lchen@zen.lhaven.homeip.net) Received: (from lchen@localhost) by zen.lhaven.homeip.net (8.14.8/8.14.7/Submit) id s2FM5k4t080547; Sat, 15 Mar 2014 17:05:46 -0500 (CDT) (envelope-from lchen) Message-Id: <201403152205.s2FM5k4t080547@zen.lhaven.homeip.net> Date: Sat, 15 Mar 2014 17:05:46 -0500 (CDT) From: Lawrence "The Dreamer" Chen To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/187623: [NEW_PORT] net-mgmt/nagios-check_dhcp.pl: Check the availabiliyt of DHCP server using unicast X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Lawrence The Dreamer Chen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2014 22:10:01 -0000 >Number: 187623 >Category: ports >Synopsis: [NEW_PORT] net-mgmt/nagios-check_dhcp.pl: Check the availabiliyt of DHCP server using unicast >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 15 22:10:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Lawrence "The Dreamer" Chen >Release: FreeBSD 9.2-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD zen.lhaven.homeip.net 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: This plugin tests the availability of a given DHCP server using unicast delivery. This is necessary if the monitoring host is on a different subnet. Using broadcast and a DHCP relay would also prevent the check from probing individual servers. >How-To-Repeat: >Fix: --- nagios-check_dhcp.pl.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # nagios-check_dhcp.pl/Makefile # nagios-check_dhcp.pl/distinfo # nagios-check_dhcp.pl/pkg-descr # echo x - nagios-check_dhcp.pl/Makefile sed 's/^X//' >nagios-check_dhcp.pl/Makefile << 'e2a34a74a2508de46db64adcec4c3e30' X# Created by: Lawrence Chen X# $FreeBSD$ X XPORTNAME= check_dhcp.pl XPORTVERSION= 0.1 XCATEGORIES= net-mgmt XMASTER_SITES= http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=1526&cf_id=24&dummy=/ XPKGNAMEPREFIX= nagios- XDISTNAME= ${PORTNAME} XEXTRACT_SUFX= X XMAINTAINER= beastie@tardisi.com XCOMMENT= Check the availability of a DHCP server using unicast delivery X XRUN_DEPENDS= ${LOCALBASE}/libexec/nagios/utils.pm:${PORTSDIR}/net-mgmt/nagios-plugins \ X p5-IO-Interface>=0:${PORTSDIR}/net/p5-IO-Interface \ X p5-Net-DHCP-Watch>=0:${PORTSDIR}/net/p5-Net-DHCP-Watch X XUSES= perl5 XUSE_PERL5= run X XPLIST_DIRSTRY= libexec/nagios XPLIST_FILES= libexec/nagios/check_dhcp.pl XNO_BUILD= yes XNO_WRKSUBDIR= yes X Xpost-patch: X @${REINPLACE_CMD} -e "s,/usr/bin/perl,${PERL}," ${WRKSRC}/${PORTNAME} X Xdo-extract: X @${MKDIR} ${WRKDIR} X @${CP} ${DISTDIR}/${PORTNAME} ${WRKDIR}/ X Xdo-install: X ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios X ${INSTALL_SCRIPT} ${WRKSRC}/check_dhcp.pl ${STAGEDIR}${PREFIX}/libexec/nagios/check_dhcp.pl X X.include e2a34a74a2508de46db64adcec4c3e30 echo x - nagios-check_dhcp.pl/distinfo sed 's/^X//' >nagios-check_dhcp.pl/distinfo << '84bce1d7a585b49925ce0671dbc9b9e4' XSHA256 (check_dhcp.pl) = 7aa6f26ae11f66e7b7a0100649a42fbd7179279a1bc2ff0305d633be59bcc87b XSIZE (check_dhcp.pl) = 4171 84bce1d7a585b49925ce0671dbc9b9e4 echo x - nagios-check_dhcp.pl/pkg-descr sed 's/^X//' >nagios-check_dhcp.pl/pkg-descr << 'f62e3b0865ebcc429a53842591d83be9' XThis plugin tests the availability of a given DHCP server using unicast Xdelivery. This is necessary if the monitoring host is on a different subnet. XUsing broadcast and a DHCP relay would also prevent the check from probing Xindividual servers. f62e3b0865ebcc429a53842591d83be9 exit --- nagios-check_dhcp.pl.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: