From owner-freebsd-ports Sun Jun 23 9:20:25 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A3EE237B404 for ; Sun, 23 Jun 2002 09:20:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5NGK6q69265; Sun, 23 Jun 2002 09:20:06 -0700 (PDT) (envelope-from gnats) Date: Sun, 23 Jun 2002 09:20:06 -0700 (PDT) Message-Id: <200206231620.g5NGK6q69265@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Scott Lambert Subject: Re: ports/39673: netsaint-plugins fails to install command.cfg Reply-To: Scott Lambert Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/39673; it has been noted by GNATS. From: Scott Lambert To: freebsd-gnats-submit@FreeBSD.org, Blaz Zupan Cc: Subject: Re: ports/39673: netsaint-plugins fails to install command.cfg Date: Sun, 23 Jun 2002 12:15:40 -0400 On Sun, Jun 23, 2002 at 02:44:06PM +0200, Blaz Zupan wrote: > There is an annoying problem with this, namely netsaint-plugins can be used > either with netsaint or with nagios (the new version of netsaint), which > uses > ${PREFIX}/etc/nagios as the configuration directory. So we'd have to install > the file in both locations, but nagios has a different configuration file > format. Also, this would mean that both the netsaint and netsaint-plugins > port > would be installing the same file, which is a big no-no. Maybe we should > install this as part of the documentation. Netsaint installs etc/netsaint/commands.cfg.dist, whereas netsaint-plugins installs etc/netsaint/command.cfg.dist. Where does netsaint-plugins install the plugins themselves when working with nagios? Could we test for the existence of etc/netsaint/ vs. etc/nagios/ at install time and decide where to install it that way? I'll work on whether that is possible with the ports collection. My ports foo is still very low but I *think* I remember seeing something that would work with this for the pkg-list anyway. -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message