[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

[Nagios-devel] Nagios bugs

Post by Guest »

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.

- 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.

- 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.

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






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: Darren.Gamble@sjrb.ca
Locked