Re: [Nagios-devel] Nagios bugs

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Nagios bugs

Post by Guest »

Thanks for the notes. CVS was just updated. See below for specific
note, especially about p1.pl

On 14 May 2002 at 15:52, Darren Gamble wrote:

> Good day,
>
> I'm presently trying to get nagios up and running. It's finally up and ..
> sort of running. We have a few bugs to report, though. The documentation
> indicated that this list was the proper location to report on bugs for the
> core of nagios.
>
> - The .spec file improperly lists the "old" Netsaint sample configuration
> files instead of the new Nagios files. In fact, one file ("command.cfg", I
> believe) no longer exists, which causes the entire RPM build to fail.

This should be fixed now. The spec file references all the sample
config files (template-based format) in the sample-config/template-
object/ directory.

>
> - The nagios-httpd.conf file improperly lists the .cgi directory as
> "/usr/libexec/nagios/cgi/". They are actually installed in
> "/usr/lib/nagios/cgi/", of course.

Fixed.

>
> - The spec file doesn't contain the p1.pl perl script file (for embedded
> perl). I am not using it yet, but the spec file should be changed to
> install it (a name change is probably in order, too). I noted as well that
> the location that nagios expected this file to be in, was not what appeared
> to be the configured location.
>
> $ grep -r p1.pl *
> common/locations.h.in:#define P1LOC
> "@bindir@/p1.pl"
> common/locations.h:#define P1LOC
> "/usr/local/nagios/bin/p1.pl"
>
> When nagios starts up, it looks for it in /usr/sbin , for some reason.
>
> # /etc/init.d/nagios start
> Starting network monitor: nagios
> Can't open perl script "/usr/sbin/p1.pl": No such file or directory
>
> The former location seems to be proper.

I think its trying /usr/sbin because that where the spec file want to
put the nagios binary. Perhaps this file should be placed in the
same directory as the plugins (%{_prefix}/lib/nagios/plugins)?


>
> Could fixes be put into CVS for these?
>
> I'll continue plugging away at it in the meantime...
>
> Thanks,
>
> ============================
> Darren Gamble
> Planner, Regional Services
> Shaw Cablesystems GP
> 630 - 3rd Avenue SW
> Calgary, Alberta, Canada
> T2P 4L4
> (403) 781-4948
>
>
> _______________________________________________________________
>
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/lis ... gios-devel
>



Ethan Galstad,
Nagios Developer
---
Email: nagios@nagios.org
Website: http://www.nagios.org






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: nagios@nagios.org
Locked