help: web root dir for nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
dth202
Posts: 4
Joined: Wed Jan 04, 2012 12:59 pm

help: web root dir for nagios

Post 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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: help: web root dir for nagios

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dth202
Posts: 4
Joined: Wed Jan 04, 2012 12:59 pm

Re: help: web root dir for nagios

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: help: web root dir for nagios

Post 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.
dth202
Posts: 4
Joined: Wed Jan 04, 2012 12:59 pm

Re: help: web root dir for nagios

Post by dth202 »

@mguthrie (and Imitchev)

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