Date: Sat, 15 Mar 2014 17:05:46 -0500 (CDT) From: Lawrence "The Dreamer" Chen <beastie@tardisi.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/187623: [NEW_PORT] net-mgmt/nagios-check_dhcp.pl: Check the availabiliyt of DHCP server using unicast Message-ID: <201403152205.s2FM5k4t080547@zen.lhaven.homeip.net> Resent-Message-ID: <201403152210.s2FMA1Bk027735@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <beastie@tardisi.com> 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 <bsd.port.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403152205.s2FM5k4t080547>