Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2002 14:30:49 +0200 (CEST)
From:      Blaz Zupan <blaz@si.FreeBSD.org>
To:        n9ubh@callsign.net
Cc:        ports@freebsd.org
Subject:   Re: FreeBSD Port: nagios and netsaint-plugins
Message-ID:  <20020623132358.I43109-100000@titanic.medinet.si>
In-Reply-To: <20020621192013.GA45666@green.cuna.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020623132358.I43109-100000>