|
|||||||||||
|
Suggestions on the Nagios port
From: C. Bensend <benny(at)bennyvision.com>
Date: Wed Nov 13 2002 - 19:52:47 EST Many of you will breath a sigh of relief - I have decided to build Nagios normally, and worry about static/chroot at a later time (probably my first FLAVOR). :) However, Nagios is kind of a unique application - it's part web application, and part userland daemon. What I'm looking for is suggestions/direction on the directory structure to use. When I install Nagios from source, I typically install it in /home/nagios. I can hear the sharp intake of breath from here. ;) I _know_ that's not the OpenBSD way. Well, here's my dilemma: ${PREFIX}/etc = config files (about a dozen)
CGI's need to talk to, as well as Nagios daemon ... that's the "typical" ./configure, make, make install for Nagios. Now, what is preferred/mandated within the OpenBSD ports tree? Should I split everything up amongst /usr/local (ie, CGI's in /usr/local/sbin, nagios daemon in /usr/local/bin, etc) ? Set PREFIX to be /usr/local/nagios (please don't kill me) ? Set PREFIX to /home/nagios like I normally do when I install from source? And if the preferred solution is to split it up into /usr/local, I assume the config files should end up in /usr/local/share/nagios/, and then copied to /etc/nagios ? Keep in mind, Apache's config is going to have to point at two of these directories. I'm just trying to avoid the typical faux pas and do things the way the porters say things should be done, rather than the way I have done them in the past. Also, since it's part CGI and part userland, this seems like a slightly different case than your normal piece of software. Thanks! Benny There's always time for Cheerios... Received on Wed Nov 13 19:54:23 2002 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:37:45 EDT |
||||||||||
|
|||||||||||