Page 1 of 1
BPI config - missing objects => again
Posted: Tue Aug 13, 2019 2:13 am
by scharft
BPI config has 4 missing objects(attachment), syncing host and service groups result in:
Error: Unable to match string in config file.
Unable to match string in config file.
manually edit of the bpi config file is not possible, the string can't be found.
Re: BPI config - missing objects => again
Posted: Tue Aug 13, 2019 1:32 pm
by ssax
Please PM me a fresh profile and these files so that I can investigate:
Code: Select all
/usr/local/nagiosxi/etc/components/bpi.conf
/usr/local/nagiosxi/etc/components/bpi.conf.backup
/usr/local/nagiosxi/var/components/bpi.log
Re: BPI config - missing objects => again
Posted: Mon Aug 19, 2019 12:20 am
by scharft
Hi
i've send you last week the required logs and till now no response, please hurry up because all other hosts are filling the list of missing objects:
The current BPI config has 9 missing objects. Missing objects will show up as having an UNKNOWN or UNREACHABLE status
best regards
Re: BPI config - missing objects => again
Posted: Mon Aug 19, 2019 2:41 pm
by ssax
You have 2 IDC_TEST, please remove one of them (Manually Edit Config), save, then try to sync again and send me any output:
Code: Select all
define IDC_TEST {
title=IDC_TEST
desc=for testing purposes
primary=1
info=
members=atvXXXXXXXX;NULL;&,
warning_threshold=90
critical_threshold=80
priority=2
type=default
auth_users=
}
define IDC_TEST {
title=IDC_TEST
desc=for testing purposes
primary=1
info=
members=atXXXXXXXX;NULL;|,
warning_threshold=90
critical_threshold=80
priority=2
type=default
auth_users=
}
Re: BPI config - missing objects => again
Posted: Tue Aug 20, 2019 12:55 am
by scharft
the same error:
Error: Unable to match string in config file.
Unable to match string in config file.
Unable to match string in config file.
deleting the hosts manually in the bpi config looks good but this is not a solution.
The current BPI config has 5 missing objects. Missing objects will show up as having an UNKNOWN or UNREACHABLE status.
any suggestions?
Re: BPI config - missing objects => again
Posted: Tue Aug 20, 2019 3:51 pm
by ssax
What is the output of this command:
Code: Select all
grep define /usr/local/nagiosxi/etc/components/bpi.conf | uniq -d
Re: BPI config - missing objects => again
Posted: Tue Aug 20, 2019 11:03 pm
by scharft
nothing happen, not output, should i check some logs?
Re: BPI config - missing objects => again
Posted: Wed Aug 21, 2019 3:45 pm
by ssax
Hmm, I think we'll need to do this live.
Do you see anything in your
/usr/local/nagiosxi/var/components/bpi.log?
Please create a ticket for this and include a link back to this forum thread
so we can get a remote session setup (if you already have a ticket, just reply to that one so it pops up on my dashboard, I search for a ticket for you and didn't see one):
Code: Select all
https://support.nagios.com/tickets/
Re: BPI config - missing objects => again
Posted: Fri Aug 23, 2019 9:18 am
by scharft
i've created Ticket #308056.
Today i did the nagios upgrade to 5.6.6 and after that i had the same errors
Error: Backup successfully created.
Groups Deleted: 0
Unable to match string in config file.Backup successfully created.
Groups Deleted: 0
Unable to match string in config file.Backup successfully created.
Groups Deleted: 0
Unable to match string in config file.Backup successfully created.
Groups Deleted: 0
Unable to match string in config file.
Backup successfully created.
BPI configuration applied successfully!
Re: BPI config - missing objects => again
Posted: Fri Aug 23, 2019 1:43 pm
by tgriep
I see the ticket and will continue support there.