Cannot manually delete hosts and services config files
Posted: Mon Sep 23, 2013 9:44 pm
Hi! Need your help on how to remove host and its services that is not existing anymore in Nagios XI.
I have used VMware ESX / vSphere / vCenter wizard to add this VM server and have decided to remove them afterwards.
I have deleted its services and also the host name in CCM but it still visible in my list of Hosts and Services.
Had already checked the Write Config Tool and there are No errors found.
Rebooteing the machine was also done but it still in there.
I have also tried to stop nagios and delete host and services in /usr/local/nagios/etc/hosts and /usr/local/nagios/etc/services.
But when i run Nagios again, it's telling me that "Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration."
Please help.
I have used VMware ESX / vSphere / vCenter wizard to add this VM server and have decided to remove them afterwards.
I have deleted its services and also the host name in CCM but it still visible in my list of Hosts and Services.
Had already checked the Write Config Tool and there are No errors found.
Rebooteing the machine was also done but it still in there.
I have also tried to stop nagios and delete host and services in /usr/local/nagios/etc/hosts and /usr/local/nagios/etc/services.
But when i run Nagios again, it's telling me that "Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration."
Please help.