Best way to uninstall Nagios off a old server
-
MNcomputer
- Posts: 38
- Joined: Wed Aug 12, 2015 8:56 am
Best way to uninstall Nagios off a old server
What is the best practice\rprocess to uninstall Nagios off a server that is no longer in production? Thanks!
Re: Best way to uninstall Nagios off a old server
You can just run the uninstall script which should already be on your XI server.
Code: Select all
cd /usr/local/nagiosxi/scripts
./uninstall_xi.shBe sure to check out the Knowledgebase for helpful articles and solutions!
-
MNcomputer
- Posts: 38
- Joined: Wed Aug 12, 2015 8:56 am
Re: Best way to uninstall Nagios off a old server
Hi,
Do I run the command on the server itself, on which I want the software uninstalled on? Looking at moving it to another server. Thank you in advance, rookie at this at the moment.
Do I run the command on the server itself, on which I want the software uninstalled on? Looking at moving it to another server. Thank you in advance, rookie at this at the moment.
Re: Best way to uninstall Nagios off a old server
No worries -- yes, run the command on the Nagios server itself, which will uninstall the Nagios software. It will present an option to re-install, but if you ignore that option the software will remain uninstalled.
Be sure to check out the Knowledgebase for helpful articles and solutions!
-
MNcomputer
- Posts: 38
- Joined: Wed Aug 12, 2015 8:56 am
Re: Best way to uninstall Nagios off a old server
Hi,
I must have posted my question wrong, what is the best way to remove the Nagios monitoring software on a server that we no longer use. I have a old CRM server with the Nagios monitoring software on it still, and it is showing up under my service detail still. What is the best method to remove it off this old CRM server? When I go to configure, delete this host, I receive the following error:
One or more errors were detected that prevent the host from being deleted.
Possible causes include...
•The host is associated with other hosts, services, or objects that need to be deleted first
•The host is maintained in a static or external configuration file
I must have posted my question wrong, what is the best way to remove the Nagios monitoring software on a server that we no longer use. I have a old CRM server with the Nagios monitoring software on it still, and it is showing up under my service detail still. What is the best method to remove it off this old CRM server? When I go to configure, delete this host, I receive the following error:
One or more errors were detected that prevent the host from being deleted.
Possible causes include...
•The host is associated with other hosts, services, or objects that need to be deleted first
•The host is maintained in a static or external configuration file
Re: Best way to uninstall Nagios off a old server
Are you talking about the monitoring agent that you install on a remote machine to monitor it? The original question made it sound like you want to remove the monitoring server software called Nagios XI. If you are talking about the remote agent, it will depend on what agent you are using and what version. Can you please provide more details?
The errors you are seeing have nothing to do with the agent being installed or not - those usually mean you are trying to delete a host that still has services associated with it. Those services will need to be deleted first before you can delete the host, and they might have some dependencies of their own to resolve.
The errors you are seeing have nothing to do with the agent being installed or not - those usually mean you are trying to delete a host that still has services associated with it. Those services will need to be deleted first before you can delete the host, and they might have some dependencies of their own to resolve.
Former Nagios employee
Re: Best way to uninstall Nagios off a old server
Let's clarify - you have an old server that you have been monitoring (that is no longer in use) in Nagios XI. Now, you need to remove this host, and all of its services from your Nagios XI server. Is this correct? Initially we thought you needed to uninstall Nagios XI from an old server... If you need to remove a host, you will have to delete all of its services first. You can check all of the host's dependent relationships to other objects by going to the Core Config Manager->Hosts, then clicking on the "Relationship Info" actions button next to the host.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
MNcomputer
- Posts: 38
- Joined: Wed Aug 12, 2015 8:56 am
Re: Best way to uninstall Nagios off a old server
Yes, that is correct. Thank you.
Re: Best way to uninstall Nagios off a old server
Are we good to mark this thread as resolved?
Former Nagios Employee
-
MNcomputer
- Posts: 38
- Joined: Wed Aug 12, 2015 8:56 am
Re: Best way to uninstall Nagios off a old server
Yes, please close request, thank you for your assistance.