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 »

On Tue, 14 May 2002, Ethan Galstad wrote:

> >
> > $ 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)?
>

p1.pl is expected by ePN to be in the same directory. Since ePN is part
of Nagios and Nagios is running out of /usr/sbin - it should go there..

-sg






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