ports/152335: New port: net-mgmt/nagios-mklivestatus livestatus plugin for nagios 3.x

Eric F Crist ecrist at secure-computing.net
Wed Nov 17 17:20:10 UTC 2010


>Number:         152335
>Category:       ports
>Synopsis:       New port: net-mgmt/nagios-mklivestatus livestatus plugin for nagios 3.x
>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:   Wed Nov 17 17:20:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Eric F Crist
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
Secure Computing Networks & ClaimLynx, Inc
>Environment:
FreeBSD cartman.secure-computing.net 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Mon Oct 25 07:06:57 CDT 2010     root at cartman.secure-computing.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
	This PR adds port net-mgmt/nagios-mklivestatus, a broker module for Nagios 3.x.

>How-To-Repeat:
>Fix:

--- nagios-mklivestatus.shar begins here ---
# 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:
#
#	nagios-mklivestatus
#	nagios-mklivestatus/files
#	nagios-mklivestatus/files/pkg-message.in
#	nagios-mklivestatus/Makefile
#	nagios-mklivestatus/distinfo
#	nagios-mklivestatus/pkg-descr
#	nagios-mklivestatus/pkg-plist
#
echo c - nagios-mklivestatus
mkdir -p nagios-mklivestatus > /dev/null 2>&1
echo c - nagios-mklivestatus/files
mkdir -p nagios-mklivestatus/files > /dev/null 2>&1
echo x - nagios-mklivestatus/files/pkg-message.in
sed 's/^X//' >nagios-mklivestatus/files/pkg-message.in << '9f1bf1427415b2105558eb4e791c104f'
X* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
X
XThe following lines need to be added to your nagios.cfg file to enable this module:
X
Xbroker_module=%%PREFIX%%/lib/mk-livestatus/livestatus.o /tmp/nagios-mklivestatus.socket
Xevent_broker_options=-1
X
X* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
9f1bf1427415b2105558eb4e791c104f
echo x - nagios-mklivestatus/Makefile
sed 's/^X//' >nagios-mklivestatus/Makefile << '9d7260ba4b7e2e2aa723e65706545f6a'
X# Ports collection makefile for:	nagios-mklivestatus
X# Date created:				17 Nov 2010
X# Whom:					Eric Crist <ecrist at secure-computing.net>
X#
X# $FreeBSD$
X
XPORTNAME=	mklivestatus
XDISTVERSION=	1.1.8
XCATEGORIES=	net-mgmt
XMASTER_SITES=	http://mathias-kettner.de/download/
XPKGNAMEPREFIX=	nagios-
XDISTNAME=	mk-livestatus-${DISTVERSION}
X
XMAINTAINER=	ecrist at secure-computing.net
XCOMMENT=	Livestatus broker module for Nagios 3.x
X
XSUB_FILES=	pkg-message
X
Xpost-install:
X	${CAT} ${PKGMESSAGE}
X
XGNU_CONFIGURE=  yes
X
X.include <bsd.port.mk>
9d7260ba4b7e2e2aa723e65706545f6a
echo x - nagios-mklivestatus/distinfo
sed 's/^X//' >nagios-mklivestatus/distinfo << '3a7c2f0ae50dac8753fc77b7694e3555'
XSHA256 (mk-livestatus-1.1.8.tar.gz) = b9f3449664625a5b23a24dfd015f2ad1e3b5829d45a3b9502051f9121c0da17d
XSIZE (mk-livestatus-1.1.8.tar.gz) = 323754
3a7c2f0ae50dac8753fc77b7694e3555
echo x - nagios-mklivestatus/pkg-descr
sed 's/^X//' >nagios-mklivestatus/pkg-descr << 'ae01301e691c8c2ec7963a8313eebf3d'
XThis is a NEB module that is loaded directly into the Nagios process and sends
Xout all status updates via a UNIX socket to a helper process. This approach 
Xhas several advantages over status.dat:
X  * Livestatus produces zero disk IO when querying status data.
X  * Accessing the data is much faster than parsing status.dat or querying
X    an SQL database.
X  * Livestatus gives you access to Nagio-specific data not available any
X    other available status access method - for example, the information on
X    whether a host is currently in it's notification period.
X
XWWW: http://mathias-kettner.de/checkmk_livestatus.html
ae01301e691c8c2ec7963a8313eebf3d
echo x - nagios-mklivestatus/pkg-plist
sed 's/^X//' >nagios-mklivestatus/pkg-plist << 'ad7d3977e6ffbc61ba2aea129b0f2ef4'
Xbin/unixcat
Xlib/mk-livestatus/livestatus.o
X at dirrmtry lib/mk-livestatus
ad7d3977e6ffbc61ba2aea129b0f2ef4
exit
--- nagios-mklivestatus.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list