Not able to delete a host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
fao
Posts: 99
Joined: Thu Feb 03, 2011 3:05 am

Not able to delete a host

Post by fao »

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
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

Post by scottwilkerson »

Have you clicked Apply Configuration since deleting the host?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Not able to delete a host

Post by slansing »

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.
fao
Posts: 99
Joined: Thu Feb 03, 2011 3:05 am

Re: Not able to delete a host

Post by fao »

Thanks, I've manually deleted the cfg file and restarted Nagios.
Locked