f27b5f6b4f
Changes since 10.12.1.2 - typo in --lookup vs. --lookback - support new C9800 wlan controller - new structure suitble for epn - reduce amount of data in cisco fru - bugfix in traffic thresholds, do not use warning/critical def. thresholds - implement traffic thresholds for interface-usage, correctly calc the less-than perfdata thresholds. - reduce runtime for HOST-RESOURCES-MIB disk and device tables - don't walk cefcFRUPowerSupplyGroupTable, it's unused anyway - PR 310/311 for Fortigte HW - bugfix in bluecat productname detection update glplugin (another epn fix, ::pluginname, ::plugin) - update glplugin (another epn fix) - bugfix in Huawei Wlan Controller (just a perl warning, not serious) these recent perl warnings appeared after i heavily used the embedded perl feature of mod-gearman. it is much more strict than running the plugin as a standalone process) Reported by: portscout
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
PORTNAME= check_nwc_health
|
|
PORTVERSION= 11.0.1
|
|
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
|
|
WWW= https://labs.consol.de/nagios/check_nwc_health
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= p5-File-Slurp>=0:devel/p5-File-Slurp \
|
|
p5-JSON-XS>=4.0:converters/p5-JSON-XS \
|
|
p5-JSON>=4.0:converters/p5-JSON
|
|
|
|
USES= perl5
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
--with-nagios-user=${NAGIOSUSER} \
|
|
--with-nagios-group=${NAGIOSGROUP} \
|
|
--with-perl=${PERL}
|
|
|
|
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
|
|
# Remove unused expression that is problematic for pkg-fallout
|
|
# under 12.3 but causes no problems anywhere else
|
|
${REINPLACE_CMD} -e "/@AWK@/d" ${WRKSRC}/plugins-scripts/subst.in
|
|
|
|
.include <bsd.port.mk>
|