Nagios XI 5R1.0: BPI Service Bug
Posted: Mon Oct 05, 2015 2:54 am
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:
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
The web tool adds the service with "::" instead of a ";", this is how the configueation should look like:
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'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=
}Code: Select all
members=mytest.test.com;Virtual Memory Usage;&, mytest.test.com;Physical Memory Usage;&,