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.
Bulk Modification Bug - add contact/contact group
-
jonathan_dixon
- Posts: 3
- Joined: Wed Oct 21, 2015 12:40 pm
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Bulk Modification Bug - add contact/contact group
Is this Nagios XI 5.2.0 ?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
jonathan_dixon
- Posts: 3
- Joined: Wed Oct 21, 2015 12:40 pm
Re: Bulk Modification Bug - add contact/contact group
Yes. Installed Version: 5.2.0
It was downloaded as 5.1.0 and the update was installed a few days later.
It was downloaded as 5.1.0 and the update was installed a few days later.
- Nagios Support
- Posts: 36
- Joined: Thu Sep 04, 2014 12:16 pm
Re: Bulk Modification Bug - add contact/contact group
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Bulk Modification Bug - add contact/contact group
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
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
-
jonathan_dixon
- Posts: 3
- Joined: Wed Oct 21, 2015 12:40 pm
Re: Bulk Modification Bug - add contact/contact group
Yes, it happens for both contacts and contact groups.
I just created a test service group called testsg and added 3 windows servers. 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) I use the bulk removal tool to show me everything that my userid was just added to. 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.
I just created a test service group called testsg and added 3 windows servers. 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) I use the bulk removal tool to show me everything that my userid was just added to. 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.
You do not have the required permissions to view the files attached to this post.
Re: Bulk Modification Bug - add contact/contact group
I believe you nailed it. I was able to recreate the issue and filed an internal bug report (TASK ID 6808).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.
Be sure to check out our Knowledgebase for helpful articles and solutions!