I need to delete one host from Nagios monitoring but the search in CCM does'nt return anything while the host cfg file exists.
How should I proceed in order to delete the host?
find / -name *LPRAPP02*
/usr/local/nagios/etc/hosts/LPRAPP02.cfg
Not able to delete a host
Not able to delete a host
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Not able to delete a host
Have you clicked Apply Configuration since deleting the host?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Not able to delete a host
If you have done what swilkerson suggested, all the services have been deleted for the host and it still exists, you can remove the .cfg file from the /hosts directory safely, then restart Nagios.
Re: Not able to delete a host
Thanks, I've manually deleted the cfg file and restarted Nagios.