Page 1 of 1

Host Deleting

Posted: Wed Dec 04, 2013 11:17 am
by Mike
Hello,


The host is not able to delete, tried following steps :

1) deleted the services of the host from CCM ==> Applied configuration
2) deleted the host from CCM ==> Applied configuration

Configuration Applied successfully and host and services are not available in CCM hosts option

But, The host is visible in the host details with their services in Home page.

tried following steps :
1) restarting nagios
2) restarting post-gresql and mysql
3) run ./reconfigure.sh
4) tried deleting the host form the command line,
error :
# ./nagiosql_delete_host.php --host=kes
URL: http://localhost/nagiosql/admin/hosts.php
Unable find host in nagiosql database


Regards,
Thanks,

Re: Host Deleting

Posted: Wed Dec 04, 2013 11:22 am
by slansing
Are the hosts and services still shown in:

Code: Select all

/usr/local/nagios/etc/hosts/

/usr/local/nagios/etc/services/
If so, please remove them manually from those directories as these are likely ghost hosts.