Hi,
We retired a server in early 2023 and did not remove Nagios from it before decommissioning the server.
It's still showing up in Nagios Core as a host, with lots of associated services - we want to fully delete the server and all associated services to clean up our Nagios page.
How do we remove all the associated services and delete the host from Nagios Core?
We access Nagios Core through a web browser, but Nagios itself is installed on a Linux server.
Nowhere on the web portal/page can we locate where to delete hosts.
If this must be done on the Linux application, what are the commands or steps to delete a host?
Thank you in advance - Peace.
How to delete host from Nagios Core?
-
- Posts: 100
- Joined: Wed Aug 23, 2023 11:29 am
Re: How to delete host from Nagios Core?
Hi @jcook,
I would recommend snapshotting your core server then deleting the host and its services from:
You probably want to grep your other core config files in /etc/ as well for any mentions of the host/services and remove them accordingly. Then restart nagios. Nagios XI has the Core Config Manager which lets you manage your core configuration files via the web browser.
Let us know if you need anything else.
Thank you!
I would recommend snapshotting your core server then deleting the host and its services from:
Code: Select all
/usr/local/nagios/etc/hosts
/usr/local/nagios/etc/services
Let us know if you need anything else.
Thank you!