Can't configure Servicegroup BPI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mauricio.moya
Posts: 36
Joined: Wed Dec 26, 2012 10:52 am

Can't configure Servicegroup BPI

Post by mauricio.moya »

Hi,

Im having issues to configure a service group that i sinc in the BPI.
I woul like to give Essential Member or change Health Thresholds but show me "ERROR: Unable to match string in config file."

I made a big BPI with services group, and i need to configure those services group now.

Regards,
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Can't configure Servicegroup BPI

Post by mguthrie »

Are you able to delete that servicegroup and then resync? If so, does that allow you to edit the group?


If it won't let you delete the synced servicegroup, access the "Manually Edit Config" link, and find the BPI group definition and manually delete it. From there you should be able to resync and edit the group.
mauricio.moya
Posts: 36
Joined: Wed Dec 26, 2012 10:52 am

Re: Can't configure Servicegroup BPI

Post by mauricio.moya »

OK,

Yes i cant delete this by console. I delete this by the conf file. Then i try to reconfigure and works.

Why this happen?? i woul have to do this every time? There any way to solve this??
This means a lot of work.....

Thanks,
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Can't configure Servicegroup BPI

Post by mguthrie »

Not sure why it happened specifically. Could just be a fluke. Are you seeing this behavior repeatedly?
mauricio.moya
Posts: 36
Joined: Wed Dec 26, 2012 10:52 am

Re: Can't configure Servicegroup BPI

Post by mauricio.moya »

Yes in avery servicegroup that sync in the BPI view.

And now that i change by this way the values of the servicesgroupo. When prese sync servicegroup gain for new servicegroup that i generate the values that i configure in the BPI view for a servicegroup getback to default and again dont let me change again.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Can't configure Servicegroup BPI

Post by lmiltchev »

Run the following command and post the "debug.txt" file, that was generated:

Code: Select all

cat /usr/local/nagiosxi/var/components/bpi.log > /tmp/debug.txt
Be sure to check out our Knowledgebase for helpful articles and solutions!
mauricio.moya
Posts: 36
Joined: Wed Dec 26, 2012 10:52 am

Re: Can't configure Servicegroup BPI

Post by mauricio.moya »

Here is the debug file!
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Can't configure Servicegroup BPI

Post by scottwilkerson »

This debug file looks like you have a bunch of items tin your BPI config that do not exist any longer, you may need to remove these by editing the BPI configuration manually.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mauricio.moya
Posts: 36
Joined: Wed Dec 26, 2012 10:52 am

Re: Can't configure Servicegroup BPI

Post by mauricio.moya »

OK, i got the issue now but i Don't know how to solve.

The thing is that when I Syn the Servicegroup (or Hostgroup) the bpi.conf write "define" for each servicegroup. And when i change parameters, they change in the bpi.conf file (E.g if I select "essential meber for services on the SG, in the bpi.conf is added the "|" in the end of this service). But when I press Sync servicegroup again (In case i create a new SG) the bpi.conf file re-write again all the servicegroup and duplicate the "define" groups in the file for each that almost exist at the moment of the re-sync SG.

This issue cause that when I try to reconfig a servicegroup show me the error "ERROR: Unable to match string in config file." because i guess the nagios dont know wich of the "define" servicegroup to modify, because there is many SG repeated.
The thing is that when y Syn the Servicegroup (or Hostgroup) the bpi.conf write "define" for each servicegroup. And when i change parameters, they change in the bpi.conf file (E.g if i selecte "essential meber for services on the SG in the bpi.conf is added the "|" in the end of this service). But when i press Sync servicegroup again (In case i create a new SG) the bpi.conf file re-write again all the servicegroup and duplicate the "define" groups in the file for each that almost exist at the moment of the re-sync SG.

This issue cuase that when i try to reconfig a service group show me the error "ERROR: Unable to match string in config file." because i gues the nagios dont know wish of the "define" service group to modify caause there is many as re-sn i hava made.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Can't configure Servicegroup BPI

Post by mguthrie »

Can you post a few examples of your service group names that you're having issues with?
Locked