From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 17 17:20:10 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89E581065772 for ; Wed, 17 Nov 2010 17:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 467E08FC18 for ; Wed, 17 Nov 2010 17:20:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oAHHK9K7037652 for ; Wed, 17 Nov 2010 17:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oAHHK9wN037651; Wed, 17 Nov 2010 17:20:09 GMT (envelope-from gnats) Resent-Date: Wed, 17 Nov 2010 17:20:09 GMT Resent-Message-Id: <201011171720.oAHHK9wN037651@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eric F Crist Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DEC21065B45 for ; Wed, 17 Nov 2010 17:17:59 +0000 (UTC) (envelope-from ecrist@secure-computing.net) Received: from kenny.secure-computing.net (kenny.secure-computing.net [173.8.118.210]) by mx1.freebsd.org (Postfix) with ESMTP id 597058FC12 for ; Wed, 17 Nov 2010 17:17:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by kenny.secure-computing.net (Postfix) with SMTP id 655D92E06D for ; Wed, 17 Nov 2010 11:17:44 -0600 (CST) Received: from cartman.secure-computing.net (cartman.secure-computing.net [173.8.118.211]) by kenny.secure-computing.net (Postfix) with ESMTP id 1FFA42E063; Wed, 17 Nov 2010 11:17:43 -0600 (CST) Received: by cartman.secure-computing.net (Postfix, from userid 1001) id 2E1646D43E; Wed, 17 Nov 2010 11:20:39 -0600 (CST) Message-Id: <20101117172039.2E1646D43E@cartman.secure-computing.net> Date: Wed, 17 Nov 2010 11:20:39 -0600 (CST) From: Eric F Crist To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Josh Paetzel , Thomas Johnson Subject: ports/152335: New port: net-mgmt/nagios-mklivestatus livestatus plugin for nagios 3.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eric F Crist List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2010 17:20:10 -0000 >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@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 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@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 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@dirrmtry lib/mk-livestatus ad7d3977e6ffbc61ba2aea129b0f2ef4 exit --- nagios-mklivestatus.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: