From owner-svn-ports-all@freebsd.org Sat Jun 1 16:06:32 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B0A915C0627; Sat, 1 Jun 2019 16:06:32 +0000 (UTC) (envelope-from leres@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E15D06E51B; Sat, 1 Jun 2019 16:06:31 +0000 (UTC) (envelope-from leres@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B1FAA1A10D; Sat, 1 Jun 2019 16:06:31 +0000 (UTC) (envelope-from leres@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x51G6VGD073455; Sat, 1 Jun 2019 16:06:31 GMT (envelope-from leres@FreeBSD.org) Received: (from leres@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x51G6UYQ073449; Sat, 1 Jun 2019 16:06:30 GMT (envelope-from leres@FreeBSD.org) Message-Id: <201906011606.x51G6UYQ073449@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: leres set sender to leres@FreeBSD.org using -f From: Craig Leres Date: Sat, 1 Jun 2019 16:06:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r503244 - in head/net-mgmt: . check_nwc_health X-SVN-Group: ports-head X-SVN-Commit-Author: leres X-SVN-Commit-Paths: in head/net-mgmt: . check_nwc_health X-SVN-Commit-Revision: 503244 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E15D06E51B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2019 16:06:32 -0000 Author: leres Date: Sat Jun 1 16:06:30 2019 New Revision: 503244 URL: https://svnweb.freebsd.org/changeset/ports/503244 Log: This adds net-mgmt/check_nwc_health, a Nagios plugin that uses SNMP to monitor network devices. Reviewed by: ler (mentor) Approved by: ler (mentor) Differential Revision: https://reviews.freebsd.org/D20489 Added: head/net-mgmt/check_nwc_health/ head/net-mgmt/check_nwc_health/Makefile (contents, props changed) head/net-mgmt/check_nwc_health/distinfo (contents, props changed) head/net-mgmt/check_nwc_health/pkg-descr (contents, props changed) Modified: head/net-mgmt/Makefile Modified: head/net-mgmt/Makefile ============================================================================== --- head/net-mgmt/Makefile Sat Jun 1 15:48:16 2019 (r503243) +++ head/net-mgmt/Makefile Sat Jun 1 16:06:30 2019 (r503244) @@ -43,6 +43,7 @@ SUBDIR += check_mk_agent SUBDIR += check_multi SUBDIR += check_mysql_health + SUBDIR += check_nwc_health SUBDIR += check_ssl_cert SUBDIR += chillispot SUBDIR += choparp Added: head/net-mgmt/check_nwc_health/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/check_nwc_health/Makefile Sat Jun 1 16:06:30 2019 (r503244) @@ -0,0 +1,33 @@ +# $FreeBSD$ + +PORTNAME= check_nwc_health +PORTVERSION= 7.7 +CATEGORIES= net-mgmt +MASTER_SITES= https://labs.consol.de/assets/downloads/nagios/ + +MAINTAINER= leres@freebsd.org +COMMENT= Nagios plugin to monitor network equipment via SNMP + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= perl5 + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} \ + --with-nagios-user=${NAGIOSUSER} \ + --with-nagios-group=${NAGIOSGROUP} \ + --with-perl=${PERL5} + +NAGIOSUSER?= nagios +NAGIOSGROUP?= nagios +USERS= ${NAGIOSUSER} +GROUPS= ${NAGIOSGROUP} + +PLIST_FILES= libexec/check_nwc_health + +post-patch: + ${REINPLACE_CMD} -e "s| /bin/sed| ${SED}|" -e "s| /bin/grep| ${GREP}|" \ + ${WRKSRC}/plugins-scripts/Makefile.in + +.include Added: head/net-mgmt/check_nwc_health/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/check_nwc_health/distinfo Sat Jun 1 16:06:30 2019 (r503244) @@ -0,0 +1,3 @@ +TIMESTAMP = 1559078058 +SHA256 (check_nwc_health-7.7.tar.gz) = dc188c47a8a016803f0eb75ff006ebce48de1cfdb14a881835340444ecebcf52 +SIZE (check_nwc_health-7.7.tar.gz) = 645837 Added: head/net-mgmt/check_nwc_health/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/check_nwc_health/pkg-descr Sat Jun 1 16:06:30 2019 (r503244) @@ -0,0 +1,7 @@ +check_nwc_health is a plugin for Nagios, Shinken and Icinga, which +is used to monitor network components. It is capable of interrogating +interface statistics, hardware (CPU, memory, fans, power modules, +etc.), firewall policies, HSRP, load balancer pools, processor and +memory usage. + +WWW: https://labs.consol.de/nagios/check_nwc_health