p1.pl in /usr/bin or /usr/share?

Marc Haber mh+nagios-devel at zugschlus.de
Fri Jan 20 20:11:36 CET 2006


Hi,

On Fri, Jan 20, 2006 at 11:44:00AM -0600, Ethan Galstad wrote:
> On 19 Jan 2006 at 21:50, Marc Haber wrote:
> > to package nagios 2 for Debian in an FHS-compliant way, I'd like to
> > know whether there are situations where it is necessary to call p1.pl
> > from a shell command line, or whether p1.pl needs to be in a user's
> > search part. If both answers are "no", p1.pl should be in
> > /usr/share/nagios/p1.pl instead of in /usr/[s]bin.
> 
> Good question.  I think the p1.pl script may need to be in the same 
> directory as the nagios binary, although I could be wrong.

So we have now three possibilities:

(1) it makes sense to call p1.pl manually from the command line
=> p1.pl and nagios in /usr/sbin/

(2) it does not make sense to call p1.pl manually from the command
line, nagios needs to be in the same directory
=> p1.pl and nagios in /usr/lib/nagios, symlink for /usr/sbin/nagios

(3) it does not make sense to call p1.pl manually from the command
line, nagios needs to be in the same directory
=> p1.pl in /usr/share/nagios, nagios binary in /usr/sbin/nagios

So all boils down on whether it makes sense to call p1.pl from the
command line or not. Can you comment on this?

What kind of setup would actually _need_ p1.pl?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642




More information about the Developers mailing list