Page 1 of 2

Nagios BPI for Nagios XI

Posted: Wed May 20, 2015 6:59 am
by jvanmeter
Here are the instructions I'm following

Downloading and Installing Nagios BPI for Nagios XI
The Nagios BPI Add on can be downloaded from the following location:
http://assets.nagios.com/downloads/exch ... iosbpi.zip
IMPORTANT: If you're upgrading Nagios BPI from a previous version be sure to back up your existing bpi.conf file before the upgrade,
or it will be overwritten.
cp /usr/local/nagiosxi/html/includes/components/nagiosbpi/bpi.conf /tmp/bpi.conf
• Download the zip file, and use the Admin->Manage Components page to upload and install the component.
• Run the following commands as root to set the proper permissions for the component:
cd /usr/local/nagiosxi/html/includes/components/nagiosbpi/
chmod +x set_bpi_perms.sh
./set_bpi_perms.sh
• If you're upgrading from an older version of Nagios BPI, restore your previous bpi.conf file.
cp /tmp/bpi.conf /usr/local/nagiosxi/html/includes/components/nagiosbpi/bpi.conf
• Access the “Nagios BPI” page from the main left menu in Nagios X

there is no file named set_bpi_perms.sh, I tried find to make sure it wasn't some place else. If someone could point me in the right direction for this that would be great

Re: Nagios BPI for Nagios XI

Posted: Wed May 20, 2015 9:12 am
by tmcdonald
Interesting. I will bring this to the attention of the devs.

Also, is this a question for Core or XI? You posted in the Core section with an XI topic title.

Re: Nagios BPI for Nagios XI

Posted: Fri Aug 14, 2015 12:59 pm
by gwakem
This appears to still be an issue. I just downloaded the nagiosbpi.zip from http://assets.nagios.com/downloads/exch ... iosbpi.zip and there is still no set_bpi_perms.sh to be found in the zip file. Any ideas?

Re: Nagios BPI for Nagios XI

Posted: Fri Aug 14, 2015 1:59 pm
by tmcdonald
Doesn't appear to have made it through the queue. I'll add an internal (as opposed to public) bug report and speak to the devs directly.

Update: Apparently this step is no longer necessary in the latest BPI release. Excluding that step, were you able to get it working properly?

Re: Nagios BPI for Nagios XI

Posted: Tue Aug 18, 2015 2:18 pm
by gwakem
Negative. The instructions in the INSTALL and on the linked PDF indicated that this script was to set the permissions for all folders and files, and then to edit the constants.conf in order to point to the nagios installation files. The constants.conf doesn't exist either. With all of the instructions not at all reflecting the contents of the zip file that they were contained in, I came to a full stop until I verified that this is "correct". I'll try to get it running again by poking around at the different files and see if I can guess at how this is supposed to work.

Re: Nagios BPI for Nagios XI

Posted: Tue Aug 18, 2015 2:47 pm
by gwakem
No luck, Getting a blank screen after installing the source guardian stuff. One thing I did notice is this version is BPI v2.3.4, and I am trying to get this working on core 4.1.0 rc1. Are you aware of any inherent incompatibilities here?

Re: Nagios BPI for Nagios XI

Posted: Wed Aug 19, 2015 2:30 pm
by tmcdonald
Hmmm, what PDF specifically are you following? Can you link directly to it, or to the exchange page you visited? The devs are saying that step should no longer be needed, so we might be pointing to an old zip file in our docs somewhere.

Re: Nagios BPI for Nagios XI

Posted: Thu Aug 20, 2015 7:41 am
by gwakem
The INSTALL instructions from the nagiosbpi.zip had the incorrect instructions: https://exchange.nagios.org/directory/A ... 29/details (DL link: assets.nagios.com/downloads/exchange/nagiosbpi/nagiosbpi.zip) And that also linked to here: https://assets.nagios.com/downloads/nag ... _Addon.pdf

Re: Nagios BPI for Nagios XI

Posted: Thu Aug 20, 2015 4:54 pm
by tmcdonald
Reading through the comments on the Exchange page, it looks like someone ran into the same deal:

https://support.nagios.com/forum/viewto ... 01#p111820

Try those specific steps, there are some chmods in there that might take the place of what the script was supposed to have done.

Re: Nagios BPI for Nagios XI

Posted: Fri Aug 21, 2015 1:05 pm
by gwakem
I did get that working following those steps.. However, that required finding and downloading BPI 1.3.1. Those steps don't apply to (or work for) BPI v2 (which I linked to above. )

Essentially, the instructions on the BPI v2 download page are for v1, and even the INSTALL file bundled in the v2 zip contains the 1.3.1 steps which is.. not optimal. As far as I can see, there are no instructions on how to get BPI v2 working with Nagios Core, although I would be really happy to be wrong.