Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jun 2019 16:06:30 +0000 (UTC)
From:      Craig Leres <leres@FreeBSD.org>
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
Message-ID:  <201906011606.x51G6UYQ073449@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906011606.x51G6UYQ073449>