Nagiosbpi plugin installation steps [Solved]

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
msachikanta
Posts: 58
Joined: Tue Jan 03, 2012 2:35 am

Nagiosbpi plugin installation steps [Solved]

Post by msachikanta »

Hi,

Can someone please share me the steps to install nagiosbpi plugin...! thanks in advance.

Regards,
Sachikanta
Last edited by msachikanta on Mon Sep 03, 2012 12:58 am, edited 1 time in total.
msachikanta
Posts: 58
Joined: Tue Jan 03, 2012 2:35 am

Re: Nagiosbpi plugin installation steps

Post by msachikanta »

Hi,

I followed the below steps to install but still no result, its not working.

Installation Steps for Nagios Core:-
-------------------------------------------
Downloading and Installing Nagios BPI for Nagios Core
• Download and unzip the nagios.zip into your /tmp directory:
wget http://assets.nagios.com/downloads/exch ... iosbpi.zip
• Copy the entire nagiosbpi folder to the 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 directory locations)
• Launch Nagios BPI from your web browser http://<yourserver>/nagios/nagiosbpi
-------------------------------------------------------------------------------------------------------------------------------------------------------------------

After installing and configuring it I tried to open 'http://10.29.74.157/nagios/nagiosbpi' and got 'HTTP 404 Not Found' error. Is there any other configuration needs to be done..? Please advise. Thanks in Advance.

Regards,
Sachikanta
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagiosbpi plugin installation steps

Post by mguthrie »

Where are your nagios web files located on your system? Are they in /usr/local/nagios/share, or somewhere else?
msachikanta
Posts: 58
Joined: Tue Jan 03, 2012 2:35 am

Re: Nagiosbpi plugin installation steps

Post by msachikanta »

Hi,

Ya it is placed at '/usr/local/nagios/share' path. even I placed nagiosbi folder inside share directory and tried, but got same error. Please advise.

Regards,
Sachikanta
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagiosbpi plugin installation steps

Post by mguthrie »

Can you post your apache configuration file for Nagios? If it's a CentOS/RHEL based system, it will be at:
/etc/httpd/conf.d/nagios.conf
msachikanta
Posts: 58
Joined: Tue Jan 03, 2012 2:35 am

Re: Nagiosbpi plugin installation steps

Post by msachikanta »

Here are the details of nagios.conf file.

# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
# Last Modified: 11-26-2005
#
# This file contains examples of entries that need
# to be incorporated into your Apache web server
# configuration file. Customize the paths, etc. as
# needed to fit your system.

ScriptAlias /nagios/cgi-bin "/apps/tools/nagios/sbin"

<Directory "/apps/tools/nagios/sbin">
# SSLRequireSSL
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /apps/tools/nagios/etc/htpasswd.users
Require valid-user
</Directory>

Alias /nagios "/apps/tools/nagios/share"

<Directory "/apps/tools/nagios/share">
# SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /apps/tools/nagios/etc/htpasswd.users
Require valid-user
</Directory>

Thanks,
Sachikanta
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagiosbpi plugin installation steps

Post by mguthrie »

Your nagios web directory is located at /apps/tools/nagios/share, so you'll need to place nagiosbpi inside of that directory, not /usr/local/nagios/share.
msachikanta
Posts: 58
Joined: Tue Jan 03, 2012 2:35 am

Re: Nagiosbpi plugin installation steps[Solved]

Post by msachikanta »

Thanks for your inputs, It's working fine now.

Regards,
Sachikanta
Locked