From owner-freebsd-ports Sun Jun 23 5:30:58 2002 Delivered-To: freebsd-ports@freebsd.org Received: from shark.amis.net (shark.amis.net [212.18.32.14]) by hub.freebsd.org (Postfix) with ESMTP id 1956D37B401 for ; Sun, 23 Jun 2002 05:30:54 -0700 (PDT) Received: from baracuda.amis.net (baracuda.amis.net [212.18.32.4]) by shark.amis.net (Postfix) with ESMTP id BB1FA7C95; Sun, 23 Jun 2002 14:30:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by baracuda.amis.net (Postfix) with ESMTP id 1B1C69B08; Sun, 23 Jun 2002 14:30:52 +0200 (CEST) Received: from titanic.medinet.si (titanic.medinet.si [212.18.42.5]) by baracuda.amis.net (Postfix) with ESMTP id 69EE99B07; Sun, 23 Jun 2002 14:30:50 +0200 (CEST) Received: by titanic.medinet.si (Postfix, from userid 1000) id 882CE55412; Sun, 23 Jun 2002 14:30:49 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by titanic.medinet.si (Postfix) with ESMTP id 80E8F55404; Sun, 23 Jun 2002 14:30:49 +0200 (CEST) Date: Sun, 23 Jun 2002 14:30:49 +0200 (CEST) From: Blaz Zupan X-X-Sender: blaz@titanic.medinet.si To: n9ubh@callsign.net Cc: ports@freebsd.org Subject: Re: FreeBSD Port: nagios and netsaint-plugins In-Reply-To: <20020621192013.GA45666@green.cuna.com> Message-ID: <20020623132358.I43109-100000@titanic.medinet.si> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-4.6 required=5.0 tests=IN_REP_TO,AWL version=2.20 X-Spam-Level: X-Virus-Scanned: by AMaViS snapshot-20020531 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 > 1. The permissions on the directory /usr/local/var/nagios/rw and on > /usr/local/var/nagios/rw/nagios.cmd use the group nogroup; > they should use the group www. Here's the patch: > Thanks, I almost forgot about this (was planning to do it). > 2. Nagios requires apache (or some web server), but this is not listed. Actually it does not strictly require apache, you only need it if you want to use the CGI interface. But there is a command line interface to it, and you could also use it only to send out notifications. So apache is not strictly required and IMHO there should not be a dependancy on it. > 3. Nagios CGI scripts should probably live in /usr/local/share/nagios/cgi-bin; > this is the directory used by the program, anyway. Agreed. I'll be changing the location with the next update. > 1. Compile time errors: > > ===> Building for netsaint-plugins-1.2.9.4 > cd . && /usr/local/bin/aclocal > cd . && /usr/local/bin/automake --gnu --include-deps Makefile > automake: configure.in: `AM_INIT_AUTOMAKE' must be used > gmake: *** [Makefile.in] Error 1 > *** Error code 2 > > Stop in /usr/ports/net/netsaint-plugins. > *** Error code 1 > > Stop in /usr/ports/net/netsaint-plugins. > > ...remaking the port a second time continues on, starting with autoconf. Your automake and autoconf are too old. Upgrade them and the plugins should compile fine. > 2. The check_by_ssh plugin dumps core if called without -C (it appears to be required). > It also does not show the -C option nor that it is required. It also does not document > the verbose option (-v). The patch is included. > > 3. The check_ssh plugin does not parse the returned banner correctly; there is an odd > sort of "off-by-one" error present. The patch is included. > > 4. The check_ntp script does not work with NTP v2; a patch which handles old versions > is included. The patch adds an -n option to check_ntp and uses the -o option > to ntpdate to work with old versions. I've added all this patches to the netsaint-plugins port, thanks. Have you submitted them to the netsaint-plugins authors? You forgot to add the subst.in patch, but I think I figured out the problem and produced a patch myself which will appear in the next port update. Also, check_ntp complains that it can't find xntpdc (because it's called ntpdc). I've removed the call to xntpdc, so that it only tries to run ntpdc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message