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
This commit is contained in:
Craig Leres 2019-06-01 16:06:30 +00:00
parent 25147d341a
commit 7456dd6cc0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=503244
4 changed files with 44 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1559078058
SHA256 (check_nwc_health-7.7.tar.gz) = dc188c47a8a016803f0eb75ff006ebce48de1cfdb14a881835340444ecebcf52
SIZE (check_nwc_health-7.7.tar.gz) = 645837

View File

@ -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