Page 1 of 1

help: web root dir for nagios

Posted: Wed Jan 04, 2012 3:52 pm
by dth202
Hopefully this question makes sense. I am still new to Nagios and I am trying to install the Nagios Business Process Intelligence (BPI) from here: http://exchange.nagios.org/directory/Ad ... 29/details

I have a Nagios core install so my nagios directory is /usr/local/nagios/ where do I put the folder for the plugins so that I can go to my <siteurl>/nagios/nagiosbpi?

Re: help: web root dir for nagios

Posted: Wed Jan 04, 2012 4:13 pm
by lmiltchev
http://exchange.nagios.org/directory/Ad ... 29/details

On this page:
To Install on Nagios Core:
-Download to your /tmp directory and unzip the file, detailed instructions are in the INSTALL file.
From the INSTALL file:
Installation Instructions for Nagios Core
===========================================

-Download and unzip the nagios.zip into your /tmp directory

-Copy the nagiosbpi folder inside of your Nagios directory or your preferred location that is accessible by your webserver. (depends on your distribution).

cd /<your_nagiosbpi_location>/nagiosbpi

-Execute the permissions script as the root user:
chmod +x set_bpi_perms.sh
./set_bpi_perms.sh

-Edit the contents of the constants.conf file to match your directory locations. (Use absolute locations)

-Launch Nagios BPI from your web browser http://<yourserver>/nagios/nagiosbpi

-Start creating new bpi groups using the built-in configuration tools.
Hope this helps.

Re: help: web root dir for nagios

Posted: Wed Jan 04, 2012 4:18 pm
by dth202
thanks for the quick response but been there, done that, didn't work... :(
this is what I got

Not Found

The requested URL /nagios/nagiosbpi was not found on this server.

Apache/2.2.14 (Ubuntu) Server at 50.57.106.162 Port 80

Re: help: web root dir for nagios

Posted: Wed Jan 04, 2012 11:18 pm
by mguthrie
Place it in the web directory of Nagios Core, which is either /usr/local/nagios or /usr/local/nagios/share/

Let us know if that doesn't work and we'll get you up and running.

Re: help: web root dir for nagios

Posted: Thu Jan 05, 2012 12:02 pm
by dth202
@mguthrie (and Imitchev)

Thanks for your help. Placing the folder in /usr/local/nagios/share/ worked!