removed hosts are still displayed on home !!
Posted: Tue Jan 09, 2018 5:34 am
Dears ,
Please I need your gaudiness in solving this matter. we have tried many solution but with no luck.
Recently we have decided to remove all hosts on our Nagios Xi so we run restore_defaults.sh script and it worked.
Now from Core Config Manger there is no hosts But in Home page we are still seeing removed hosts
the following solution didn't work!!
* Configure -> Core Config Manager, then on the left under Tools click Write Config Files. Then click Delete, then Write, then Verify and Restart
*Checked /usr/local/nagios/etc/hosts and host is not there
*/usr/local/nagiosxi/scripts/reconfigure_nagios.sh | tail -20
output for Verifying config file:
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 14 services.
Checked 1 hosts.
Checked 1 host groups.
Checked 0 service groups.
Checked 2 contacts.
Checked 2 contact groups.
Checked 124 commands.
Checked 8 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 8 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
Please I need your gaudiness in solving this matter. we have tried many solution but with no luck.
Recently we have decided to remove all hosts on our Nagios Xi so we run restore_defaults.sh script and it worked.
Now from Core Config Manger there is no hosts But in Home page we are still seeing removed hosts
the following solution didn't work!!
* Configure -> Core Config Manager, then on the left under Tools click Write Config Files. Then click Delete, then Write, then Verify and Restart
*Checked /usr/local/nagios/etc/hosts and host is not there
*/usr/local/nagiosxi/scripts/reconfigure_nagios.sh | tail -20
output for Verifying config file:
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 14 services.
Checked 1 hosts.
Checked 1 host groups.
Checked 0 service groups.
Checked 2 contacts.
Checked 2 contact groups.
Checked 124 commands.
Checked 8 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 8 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check