Can't delete services in Nagios XI
Can't delete services in Nagios XI
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.
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.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Can't delete services in Nagios XI
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
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.
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
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: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.
On the XI server, download and transfer the zip file to:
Code: Select all
/usr/local/nagiosxi/html/includes/components/ccm/includes/Code: Select all
unzip delete_object.inc.zip
chown nagios:nagios delete_object.inc.phpWe are still working on this bug, I will let you know when we have more.nealg wrote:My NAGIOS users cant delete services from the configure tab.
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Can't delete services in Nagios XI
Followed the instructions given and this didn't resolve service deletion issue. Can't delete services from CCM or configure tab.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Can't delete services in Nagios XI
Ok, we did find one other element required, the patch would be to unzip the following into
Code: Select all
/usr/local/nagiosxi/scripts
Last edited by scottwilkerson on Tue Jun 17, 2014 12:23 pm, edited 1 time in total.
Reason: bad file removed
Reason: bad file removed
Re: Can't delete services in Nagios XI
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.
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Can't delete services in Nagios XI
Yep, there was still an issue with 2 of the files. Attached is a new zip that needs to go in
Code: Select all
/usr/local/nagiosxi/scriptsYou do not have the required permissions to view the files attached to this post.
Re: Can't delete services in Nagios XI
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.
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
It may take a couple of minutes before the host is removed from the page. How long did you wait?
Be sure to check out our Knowledgebase for helpful articles and solutions!