Date: Tue, 24 Jun 2008 18:42:01 GMT From: Ryan Steinmetz <rpsfa@rit.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/124954: New port net-mgmt/snmp4nagios Message-ID: <200806241842.m5OIg1gY062333@www.freebsd.org> Resent-Message-ID: <200806241850.m5OIo8Jx037012@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124954 >Category: ports >Synopsis: New port net-mgmt/snmp4nagios >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 24 18:50:08 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Ryan Steinmetz >Release: 6.3-RELEASE >Organization: Rochester Institute of Technology >Environment: FreeBSD host.rit.edu 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #2: Mon Jun 2 13:48:56 EDT 2008 rpsfa@rit.edu:/usr/obj/usr/src/sys/host i386 >Description: New port net-mgmt/snmp4nagios >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # snmp4nagios # snmp4nagios/pkg-plist # snmp4nagios/pkg-descr # snmp4nagios/distinfo # snmp4nagios/Makefile # snmp4nagios/pkg-message # echo c - snmp4nagios mkdir -p snmp4nagios > /dev/null 2>&1 echo x - snmp4nagios/pkg-plist sed 's/^X//' >snmp4nagios/pkg-plist << 'END-of-snmp4nagios/pkg-plist' Xlibexec/nagios/check_brocade_fan Xlibexec/nagios/check_brocade_overall Xlibexec/nagios/check_brocade_port Xlibexec/nagios/check_brocade_psu Xlibexec/nagios/check_brocade_temp Xlibexec/nagios/check_cisco_cpuusage Xlibexec/nagios/check_cisco_fan Xlibexec/nagios/check_cisco_if_load Xlibexec/nagios/check_cisco_mem Xlibexec/nagios/check_cisco_pix_conns Xlibexec/nagios/check_cisco_psu Xlibexec/nagios/check_cisco_temp Xlibexec/nagios/check_cisco_voltage Xlibexec/nagios/check_cisco_vpn_conns Xlibexec/nagios/check_cisco_vpn_cpuusage Xlibexec/nagios/check_cisco_vpn_fan Xlibexec/nagios/check_cisco_vpn_temp Xlibexec/nagios/check_cisco_vpn_thru Xlibexec/nagios/check_cisco_vpn_voltage Xlibexec/nagios/check_cpq_fan Xlibexec/nagios/check_cpq_fcaaccel Xlibexec/nagios/check_cpq_fcaeac Xlibexec/nagios/check_cpq_fcahctrl Xlibexec/nagios/check_cpq_fcalogdrv Xlibexec/nagios/check_cpq_fcaphydrv Xlibexec/nagios/check_cpq_fcaspare Xlibexec/nagios/check_cpq_ida Xlibexec/nagios/check_cpq_phydrv Xlibexec/nagios/check_cpq_temp Xlibexec/nagios/check_cpq_thermal Xlibexec/nagios/check_if_by_snmp Xlibexec/nagios/check_mail_server Xlibexec/nagios/check_netapp_battery Xlibexec/nagios/check_netapp_du Xlibexec/nagios/check_netapp_fans Xlibexec/nagios/check_netapp_ops Xlibexec/nagios/check_netapp_overall Xlibexec/nagios/check_netapp_psus Xlibexec/nagios/check_netapp_raiddrv Xlibexec/nagios/check_netapp_spare Xlibexec/nagios/check_netapp_temp Xlibexec/nagios/check_netapp_vol Xlibexec/nagios/check_storage_by_snmp Xlibexec/nagios/check_ucd_lms_fan Xlibexec/nagios/check_ucd_lms_temp Xlibexec/nagios/check_ucd_lms_voltage Xlibexec/nagios/check_ucd_snmp_cpu Xlibexec/nagios/check_ucd_snmp_load Xlibexec/nagios/check_ucd_snmp_mem Xlibexec/nagios/check_ups_alarms Xlibexec/nagios/check_ups_battery Xlibexec/nagios/check_ups_bypass Xlibexec/nagios/check_ups_input Xlibexec/nagios/check_ups_output Xlibexec/nagios/check_ups_outputs Xlibexec/nagios/check_winf_cpuusage Xlibexec/nagios/check_winf_mem X@dirrmtry libexec/nagios END-of-snmp4nagios/pkg-plist echo x - snmp4nagios/pkg-descr sed 's/^X//' >snmp4nagios/pkg-descr << 'END-of-snmp4nagios/pkg-descr' XThis is a plugin package for Nagios. Quoting from the Xsnmp4nagios home page: X XSNMP4Nagios is a package of Nagios plugins which use SNMP Xto query hosts. While some of the plugins use standard MIBs, Xmost are designed for vendor specific agents. X XUnlike other Nagios plugins, they are able to scan hosts for Xobjects which can be monitored. They also can keep performance Xlogs and draw plots of these using Tobias Oetiker's RRDTool. X XCurrently devices by Brocade, Cisco, Compaq/HP and Network Appliance Xas well as computers running Microsoft Windows or Net-SNMP Xand uninterruptable power supplies are supported. X XWWW: http://snmp4nagios.sourceforge.net/ END-of-snmp4nagios/pkg-descr echo x - snmp4nagios/distinfo sed 's/^X//' >snmp4nagios/distinfo << 'END-of-snmp4nagios/distinfo' XMD5 (SNMP4Nagios-0.4.tar.gz) = 4e98f0f26f80136861dcc17ec7dba519 XSHA256 (SNMP4Nagios-0.4.tar.gz) = 6c2e91ede8a4dc1cdb79c38e80092fb9d2bc6fed5a2a8c899d0bcf0431ce0f04 XSIZE (SNMP4Nagios-0.4.tar.gz) = 235167 END-of-snmp4nagios/distinfo echo x - snmp4nagios/Makefile sed 's/^X//' >snmp4nagios/Makefile << 'END-of-snmp4nagios/Makefile' X# New ports collection makefile for: snmp4nagios X# Date created: 22 June 2008 X# Whom: Ryan Steinmetz X# X# $FreeBSD$ X# X XPORTNAME= SNMP4Nagios XPORTVERSION= 0.4 XCATEGORIES= net-mgmt XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} XMASTER_SITE_SUBDIR= snmp4nagios XDISTNAME= ${PORTNAME}-${PORTVERSION} X XMAINTAINER= rpsfa@rit.edu XCOMMENT= Vendor specific SNMP plugins for Nagios X XBUILD_DEPENDS= snmpcheck:${PORTSDIR}/net-mgmt/net-snmp XRUN_DEPENDS= snmpcheck:${PORTSDIR}/net-mgmt/net-snmp X XGNU_CONFIGURE= yes X XNAGIOSWWWDIR?= www/nagios XNAGIOSDIR?= /var/spool/nagios X XOPTIONS= RRDTOOL "Build with rrdtool support" OFF X XCONFIGURE_ARGS= --sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \ X --bindir=${PREFIX}/libexec/nagios \ X --libexecdir=${PREFIX}/libexec/nagios \ X --datadir=${PREFIX}/share \ X --sysconfdir=${PREFIX}/etc/nagios \ X --localstatedir=${NAGIOSDIR} \ X --with-rrddir=${NAGIOSDIR}/snmp4nagios/rrd \ X --with-pngdir=${NAGIOSDIR}/snmp4nagios/png \ X --prefix=${PREFIX} X XCONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ X CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ X LDFLAGS="${LDFLAGS}" \ X LIBS="-L${LOCALBASE}/lib" X X.include <bsd.port.pre.mk> X X.if defined(WITH_RRDTOOL) XLIB_DEPENDS+= rrd:${PORTSDIR}/databases/rrdtool XCONFIGURE_ARGS+=--with-rrd XPLIST_SUB+= RRD="" X.else XCONFIGURE_ARGS+=--with-rrd=no XPLIST_SUB+= RRD="@comment " X.endif X X.include <bsd.port.post.mk> END-of-snmp4nagios/Makefile echo x - snmp4nagios/pkg-message sed 's/^X//' >snmp4nagios/pkg-message << 'END-of-snmp4nagios/pkg-message' XIf this port is no longer being used, you may clean up X/var/spool/nagios/snmp4nagios/ manually. END-of-snmp4nagios/pkg-message exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806241842.m5OIg1gY062333>