Page 1 of 1

Nagios XI 5R1.0: BPI Service Bug

Posted: Mon Oct 05, 2015 2:54 am
by mopp
I tried to test BPI with service checks, but it looks like there is a bug.
What I did:
Create New BPI Group and added two sample services:
S: mytest.test.com :: Physical Memory Usage
S: mytest.test.com :: Virtual Memory Usage

After writing the configuration file I get the error:

Code: Select all

Error: Missing '&' or '|' option for Group: Testbug
Member:mytest.test.com :: Virtual Memory Usage &
Error: Can't find a service with host:mytest.test.com :: Virtual Memory Usage service:&, check configuration for group: 'Testbug'
Error: Missing '&' or '|' option for Group: Testbug
Member:mytest.test.com :: Physical Memory Usage &
Error: Can't find a service with host:mytest.test.com :: Physical Memory Usage service:&, check configuration for group: 'Testbug'
When I go back to the edit group setting the service has an additional &, it looks like this:
S: mytest.test.com :: Physical Memory Usage;&
S: mytest.test.com :: Virtual Memory Usage;&

I checked the configuration in /usr/local/nagiosxi/etc/components/bpi.conf

Code: Select all

define Testbug {
        title=Testbug
        desc=
        primary=1
        info=
        members=mytest.test.com :: Virtual Memory Usage;&, mytest.test.com :: Physical Memory Usage;&,
        warning_threshold=90
        critical_threshold=80
        priority=2
        type=default
        auth_users=
}
The web tool adds the service with "::" instead of a ";", this is how the configueation should look like:

Code: Select all

members=mytest.test.com;Virtual Memory Usage;&, mytest.test.com;Physical Memory Usage;&, 

Re: Nagios XI 5R1.0: BPI Service Bug

Posted: Mon Oct 05, 2015 3:28 pm
by tgriep
That bug was recently found. Take a look at this link.
https://support.nagios.com/forum/viewto ... =6&t=34950

If the component isn't updated in a few days, the next release of Nagios XI will include it.

Re: Nagios XI 5R1.0: BPI Service Bug

Posted: Mon Oct 05, 2015 4:14 pm
by jomann
You can upgrade just the BPI component now if you'd like using the zip. Upload and install in Admin > Manage Components > Upload Component.