[Slackbuilds-users] Slackbuild for nagios 3.x

Cherife Li cherife at dotimes.com
Wed Jul 9 15:20:27 UTC 2008

On 07/09/08 22:43, Greg Martin 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.
Good news.
I intended to maintain this. But for some reason gave up.
And there is an nagios-plugins package.
> My big question is around the directory layout.
Yeah, +1.
> Looking over the guidance for writing scripts at slackwiki.org, I was 
> considering the following layout and would like any comments you might 
> have.
> cgi exes - /usr/local/nagios/cgi
> web interface root - /usr/local/nagios
IMHO, we'd better change these.
Further more, how about placing cgi and web root in a same web root dir?
> run file - /var/nagios
> config dir - /etc/nagios
> plugins - /usr/local/nagios/plugins
Yeah, there are many many kinds of plugins. So, how about put them all 
into /var/lib/nagiosplugins?

Just to mentaion, with lockfile => /var/run/nagios.pid

My 2 cents.
> \\Greg

More information about the SlackBuilds-users mailing list