Page 1 of 1

Nagios BPI problem

Posted: Fri Jul 03, 2015 5:56 am
by lafargeuser
I have followed below pdf to configure BPI in NagiosXI. I have installed it as per the steps given below. Now I can see Nagios BPI option. But I didnt see any information after clicking to it.

https://assets.nagios.com/downloads/nag ... _Addon.pdf


It says....



The website cannot display the page
HTTP 500
Most likely causes:
The website is under maintenance.
The website has a programming error.

What you can try:
Refresh the page.

Go back to the previous page.

More information

This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.

For more information about HTTP errors, see Help.

Re: Nagios BPI problem

Posted: Mon Jul 06, 2015 9:48 am
by lmiltchev
This document is from 2011 and it is outdated. The Nagios BPI has been included in XI by default since 09/04/2012 (2012RC2). There is a "Nagios BPI" link under the "Home" page ("Details" menu).
I suppose something got messed up when you try to reinstall it. What is the version of Nagios XI that you are currently using?

Re: Nagios BPI problem

Posted: Tue Jul 07, 2015 1:06 am
by lafargeuser
Nagios XI 2012R1.2

Trying to upgrade with latest version but come across below error.
Error: No Groups Available in any repository
Setting up Install Process
Loading mirror speeds from cached hostfile

Re: Nagios BPI problem

Posted: Tue Jul 07, 2015 9:26 am
by ssax
Please post the output of this command:

Code: Select all

ls /etc/yum.repos.d
Also, please post the full output of the install errors.

Re: Nagios BPI problem

Posted: Wed Jul 08, 2015 1:02 am
by lafargeuser
ims-lab_centos6_3.repo

Re: Nagios BPI problem

Posted: Wed Jul 08, 2015 9:23 am
by lmiltchev
This doesn't seem right - you are missing bunch of repos. Here's what I have on my test box:

Code: Select all

ll /etc/yum.repos.d
total 56
-rw-r--r-- 1 root root 1991 Oct 23  2014 CentOS-Base.repo
-rw-r--r-- 1 root root  509 Sep 25  2011 CentOS-CR.repo
-rw-r--r-- 1 root root  647 Oct 23  2014 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  289 Oct 23  2014 CentOS-fasttrack.repo
-rw-r--r-- 1 root root  630 Oct 23  2014 CentOS-Media.repo
-rw-r--r-- 1 root root 5394 Oct 23  2014 CentOS-Vault.repo
-rw-r--r-- 1 root root  957 Nov  4  2012 epel.repo
-rw-r--r-- 1 root root 1056 Nov  4  2012 epel-testing.repo
-rw-r--r-- 1 root root  739 Mar 20  2013 mirrors-rpmforge
-rw-r--r-- 1 root root  717 Mar 20  2013 mirrors-rpmforge-extras
-rw-r--r-- 1 root root  728 Mar 20  2013 mirrors-rpmforge-testing
-rw-r--r-- 1 root root  301 Jan 19 12:08 nagios-6.repo
-rw-r--r-- 1 root root 1128 Mar 20  2013 rpmforge.repo
I followed the steps you did and I was able to recreate the issue (breaking my BPI). I fixed the issue simply by running the "upgrade" script from the install directory ("Upgrading to the same version").

Code: Select all

cd /tmp/nagiosxi
./upgrade
Now I can successfully access BPI (I tested it on Nagios XI 2012R1.2).

Re: Nagios BPI problem

Posted: Thu Jul 09, 2015 7:59 am
by lafargeuser
Getting internet download access for packages is challenge in our environment due to policy compliant.

Is there any way,I can upgrade it to latest version.
How, can I transfer my existing nagios configuration files to latest realesed installed. Here, I have used Nagios virtual appliance & tried to restore backup of existing Nagios but everything got replicated to new Nagios server inclueding old Version. So if there is any chance I can ship my old nagios configuration data to new one.

Re: Nagios BPI problem

Posted: Thu Jul 09, 2015 9:46 am
by lmiltchev
Are you using a proxy or you are in a completely offline environment? How did you install XI on the first place? Did you use one of our VMs or you installed from a source?

The upgrade procedure doesn't take very long - probably less than 5 min. Is it possible to bring your server online for a short time, perform the upgrade, and put it back offline?

Re: Nagios BPI problem

Posted: Fri Jul 10, 2015 9:46 am
by lafargeuser
I used VM to installed Nagios. its not possible to bring server online. Is there any way if I can transfer server configuration data from Old Nagios to New Nagios.

Re: Nagios BPI problem

Posted: Fri Jul 10, 2015 1:50 pm
by jdalrymple
I'm sorry, did I miss something? Can you run the upgrade process on the offline install?

https://assets.nagios.com/downloads/nag ... onment.pdf