Unable to add multiple host groups with bulk import

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dfaenza
Posts: 32
Joined: Thu Nov 16, 2017 3:06 pm

Unable to add multiple host groups with bulk import

Post by dfaenza »

I have recently upgraded our Nagios XI installations to 5.5.6 and have found that since the update that the bulk clone and import is not functioning as it did in the past. I have followed the steps in https://support.nagios.com/forum/viewto ... 16&t=51050 to rewrite the configs however when trying to add several host groups to a to-be-imported host it will only read the first host group in a list.

Previously you could add several host groups to the host by putting the list of host groups in quotes and separated by commas, however now it seems that only the first host group is being added.

I have also tried using single quotes surrounding the list of host groups, however it seems to pick 5 groups at random and apply them instead of all listed.

Has the way the groups are functioned changed in the new version of XI?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unable to add multiple host groups with bulk import

Post by lmiltchev »

I have recently upgraded our Nagios XI installations to 5.5.6 and have found that since the update that the bulk clone and import is not functioning as it did in the past.
What was the version of Nagios XI that you upgrade from and what was the version of the "Bulk Host Cloning and Import Monitoring Wizard" that you were using (that "worked")? We would like to try to recreate the issue in-house.
Previously you could add several host groups to the host by putting the list of host groups in quotes and separated by commas, however now it seems that only the first host group is being added.
Even if this worked in the past, it was "by accident". The wizard was not designed to (intended to) add multiple hostgroups.
Has the way the groups are functioned changed in the new version of XI?
Not that I am aware of.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dfaenza
Posts: 32
Joined: Thu Nov 16, 2017 3:06 pm

Re: Unable to add multiple host groups with bulk import

Post by dfaenza »

Previously, we were on XI version 5.4.13 and bulk host import version 2.0.2

In this version we were able to make a csv for imports that contained Name, Address, Description, and Host Group. If the multiple host groups were enclosed in double quotes, but still comma delimited within the quotes, the host groups would be added to the host object. It's surprising to me to hear this was not supposed to be used in this way. :o
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unable to add multiple host groups with bulk import

Post by lmiltchev »

We haven't been able to add multiple hostgroups even when using a version 2.0.2 of the "Bulk Host Cloning and Import" wizard. Our developers confirmed that this wizard was NOT designed to add multiple hostgroups (not before and not now), so I don't know how this is (was) even possible... I can add a feature request for adding this functionality on your behalf if you wish.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dfaenza
Posts: 32
Joined: Thu Nov 16, 2017 3:06 pm

Re: Unable to add multiple host groups with bulk import

Post by dfaenza »

@lmiltchev
I would appreciate if you will enter the feature request. It was a nice way of adding a host to a bunch of host groups and confirm that the proper services were applied.

We will manually add host groups in the meantime. Thank you for your assistance. Please proceed with closing this thread.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unable to add multiple host groups with bulk import

Post by lmiltchev »

I filed an internal feature request for adding this functionality. Your request is still in the approval queue. Please keep in mind that the decision to implement the enhancement is at the sole discretion of our development team.

I will be closing this topic now. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked