BPI config - missing objects => again

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

BPI config - missing objects => again

Post 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.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: BPI config - missing objects => again

Post 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
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

Re: BPI config - missing objects => again

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: BPI config - missing objects => again

Post 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=
}
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

Re: BPI config - missing objects => again

Post 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?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: BPI config - missing objects => again

Post by ssax »

What is the output of this command:

Code: Select all

grep define /usr/local/nagiosxi/etc/components/bpi.conf | uniq -d
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

Re: BPI config - missing objects => again

Post by scharft »

nothing happen, not output, should i check some logs?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: BPI config - missing objects => again

Post 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/
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

Re: BPI config - missing objects => again

Post 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!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: BPI config - missing objects => again

Post by tgriep »

I see the ticket and will continue support there.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked