Page 1 of 2
Can't delete services in Nagios XI
Posted: Fri Jun 13, 2014 6:07 pm
by nealg
After an upgrade to Nagios Xi 2014R1.1 none of the Nagios XI users can't delete services. Nagios acts as if it is going to schedule the service to be deleted but then the service is not removed.
Found some instructions on forum to delete the service in CCM & then go into any other service for this host click save & then apply. This worked.
It was noted that this is a bug and I was wondering when an update will be available. We really need to have the ability for Nagios XI users to be able to remove their own services.
Re: Can't delete services in Nagios XI
Posted: Mon Jun 16, 2014 9:11 am
by slansing
The default way to delete services is through the CCM, are you talking about Home > Service Detail > "Service Name" > Reconfigure? If so, what is the error these users receive when trying to delete one?
Re: Can't delete services in Nagios XI
Posted: Mon Jun 16, 2014 11:51 am
by nealg
My NAGIOS users cant delete services from the configure tab.
When one of the Windows Admins try's to delete a service it is then scheduled to be removed but the service never deletes.
Re: Can't delete services in Nagios XI
Posted: Mon Jun 16, 2014 2:13 pm
by abrist
nealg wrote:Found some instructions on forum to delete the service in CCM & then go into any other service for this host click save & then apply. This worked.
This bug has been fixed and will be in the next XI release. Attached is a zip with the fixed script. Apply it by doing the following:
On the XI server, download and transfer the zip file to:
Code: Select all
/usr/local/nagiosxi/html/includes/components/ccm/includes/
Extract and fix the permissions:
Code: Select all
unzip delete_object.inc.zip
chown nagios:nagios delete_object.inc.php
nealg wrote:My NAGIOS users cant delete services from the configure tab.
We are still working on this bug, I will let you know when we have more.
Re: Can't delete services in Nagios XI
Posted: Mon Jun 16, 2014 5:21 pm
by nealg
Followed the instructions given and this didn't resolve service deletion issue. Can't delete services from CCM or configure tab.
Re: Can't delete services in Nagios XI
Posted: Tue Jun 17, 2014 9:55 am
by scottwilkerson
Ok, we did find one other element required, the patch would be to unzip the following into
Re: Can't delete services in Nagios XI
Posted: Tue Jun 17, 2014 10:53 am
by nealg
Fixed half of my issue, much thanks. I can now delete services from CCM without any issue.
However I still can't delete services/hosts from the configure tab.
When I click on host/configure/Delete this host, doesn't work. Is scheduled to be removed but then the host/service remains.
Re: Can't delete services in Nagios XI
Posted: Tue Jun 17, 2014 12:25 pm
by scottwilkerson
Yep, there was still an issue with 2 of the files. Attached is a new zip that needs to go in
Re: Can't delete services in Nagios XI
Posted: Wed Jun 18, 2014 4:01 pm
by nealg
Unzipped new files, changed owner & group to nagios, and restarted nagios service.
I still can't delete services/hosts from the configure tab.
When I click on host/configure/Delete this host, doesn't work. Is scheduled to be removed but then the host/service remains.
Re: Can't delete services in Nagios XI
Posted: Wed Jun 18, 2014 4:28 pm
by lmiltchev
It may take a couple of minutes before the host is removed from the page. How long did you wait?