Page 1 of 1
Bulk Modification Bug - add contact/contact group
Posted: Tue Oct 27, 2015 2:00 pm
by jonathan_dixon
We are about mid-way through our XI trial period and we may have discovered a bug. We were playing around with the Bulk Modification feature and found that if we tried to bulk add a contact/contact group to a service group, it adds the servers from the service group, but it is also adding a bunch of other hosts and services. There appears to be a pattern in which hosts and services are getting added each time. We've already tried removing other service groups and host groups thinking it might be picking those up as well, but it is always picking up the same servers and services in addition to what we want. Is this a known issue happening to other customers too, or do you think there might be something amiss in our configuration that is causing this to happen?
Our installation type is the x64 VMware template, so it's pretty standard. We have installed the AIX wizard add-on.
Re: Bulk Modification Bug - add contact/contact group
Posted: Wed Oct 28, 2015 1:48 am
by Box293
Is this Nagios XI 5.2.0 ?
Re: Bulk Modification Bug - add contact/contact group
Posted: Wed Oct 28, 2015 9:20 am
by jonathan_dixon
Yes. Installed Version: 5.2.0
It was downloaded as 5.1.0 and the update was installed a few days later.
Re: Bulk Modification Bug - add contact/contact group
Posted: Wed Oct 28, 2015 5:07 pm
by Nagios Support
It is possible that this is a bug. We will do some digging into this and get back to you within the next 24 hours.
Re: Bulk Modification Bug - add contact/contact group
Posted: Wed Oct 28, 2015 5:13 pm
by ssax
Please post the exact steps and the expected outcome vs the actual outcome?
Does it happen for both contacts and contactgroups? What about if you only select a contact and a service group? Does it work then? (I'm trying to determine if it's a combination that is causing it).
Also, post any sanitized screenshots you can to help us figure out what is actually occurring.
Thank you
Re: Bulk Modification Bug - add contact/contact group
Posted: Thu Oct 29, 2015 9:35 am
by jonathan_dixon
Yes, it happens for both contacts and contact groups.
I just created a test service group called testsg and added 3 windows servers.
NagiosBulkAddContact1.png
Then I bulk add my userid to the service group. (I verified that my userid wasn't already a defined contact for any services beforehand)
NagiosBulkAddContact2.png
I use the bulk removal tool to show me everything that my userid was just added to.
NagiosBulkAddContact3.png
The bulk add tool added services from other hosts not included in the service group where the service names matched those in the service group, whether *nix or windows. I'm theorizing that it is a missing element in a MySQL query; when it comes to adding a contact to a service, the host is left out of the query so the contact is added to every service with the same name regardless of the host. To add evidence to this theory, I created another service group and put only one service in it. I got all the hosts with that service with no other extra services added.
Re: Bulk Modification Bug - add contact/contact group
Posted: Thu Oct 29, 2015 4:14 pm
by lmiltchev
The bulk add tool added services from other hosts not included in the service group where the service names matched those in the service group, whether *nix or windows.
I believe you nailed it. I was able to recreate the issue and filed an internal bug report (TASK ID 6808).