[Slackbuilds-users] Slackbuild for nagios 3.x

Andrew Brouwers abrouwers at gmail.com
Wed Jul 9 15:07:20 UTC 2008

Hi Greg,

I've never used nagios, but as a general rule, /usr/local is reserved
for per-system stuff.  As you'll probably notice, nothing really gets
put there by default.  Do you have a good reason for those components
to move from /usr/share?  It is usually a better place for such
components.  To see which packages on your installed system have used
/usr/local up until now, try:

grep usr/local /var/log/packages/* | grep -v aaa_base

That should give you a good idea as to how many slack packages
consider /usr/local to be the correct spot :>

Also, I think /var/lib is the better place for application-specific
processes.  Check out /var and /var/lib on a slackware box, and you
can see the differences.

Just my opinions; good luck!


On Wed, Jul 9, 2008 at 10:43 AM, Greg Martin <gmartin at gmartin.org> wrote:
> I have been using a slackbuild script to compile nagios 2.x for a couple
> years.  The script was written by Stefano Stabellini.  Now that 3.x is
> available, I thought it would be a good idea to review the script and update
> it for 3.x.  As I've only hacked through a couple of these, I seek some wise
> counsel before I change too much.
> My big question is around the directory layout.  Nagios has several moving
> parts and I want to ensure the install locations are normalized for
> Slackware.
> Here are the pieces and the directory from the current script
> main nagios exe - /usr/bin
> cgi exes - /usr/libexec/nagios
> web interface root - /usr/share/nagios
> run file - /var/lib/nagios
> config dir - /etc/nagios
> Additionally, there is a separate package of nagios plugins
> plugins - /usr/libexec/nagios
> Looking over the guidance for writing scripts at slackwiki.org, I was
> considering the following layout and would like any comments you might have.
> main nagios exe - /usr/bin
> cgi exes - /usr/local/nagios/cgi
> web interface root - /usr/local/nagios
> run file - /var/nagios
> config dir - /etc/nagios
> plugins - /usr/local/nagios/plugins
> \\Greg
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/

More information about the SlackBuilds-users mailing list