Index: head/net-mgmt/Makefile =================================================================== --- head/net-mgmt/Makefile +++ head/net-mgmt/Makefile @@ -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 Index: head/net-mgmt/check_nwc_health/Makefile =================================================================== --- head/net-mgmt/check_nwc_health/Makefile +++ head/net-mgmt/check_nwc_health/Makefile @@ -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 Index: head/net-mgmt/check_nwc_health/distinfo =================================================================== --- head/net-mgmt/check_nwc_health/distinfo +++ head/net-mgmt/check_nwc_health/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1559078058 +SHA256 (check_nwc_health-7.7.tar.gz) = dc188c47a8a016803f0eb75ff006ebce48de1cfdb14a881835340444ecebcf52 +SIZE (check_nwc_health-7.7.tar.gz) = 645837 Index: head/net-mgmt/check_nwc_health/pkg-descr =================================================================== --- head/net-mgmt/check_nwc_health/pkg-descr +++ head/net-mgmt/check_nwc_health/pkg-descr @@ -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