View Full Version : Importing and enabling host and services
daniele
27th February 2008, 10:28
Hi all.
I've installed Centreon and imported hosts, services and other configurations from old nagios.
I've enabled them.
But I can't view nothing into home page, monitoring, etc.
In the upper tables with hosts and services ststus, I can see only mark questions (?).
If I go into reporting view and select a host, I can see status history for this host.
Where I'm wrong?
Thanks
Daniele
naparuba
27th February 2008, 10:33
Do you have restart Nagios after importing and generate the configuration?
daniele
27th February 2008, 10:42
Yes, I've restarted nagios.
I don't understand a thing: nagios run with a default configuration file, how centreon use nagios to monitor hosts and services that are configured into mysql?
daniele
27th February 2008, 11:01
I've tried to configure a new host, and also for that object the problem remain the same:
- I can view host only in reporting window
- I can't view nothing into home, monitoring, centreon view, etc.
Thanks
Daniele
naparuba
27th February 2008, 11:27
Have you exported the configuration before restart Nagion in the centreon interface?
daniele
27th February 2008, 11:38
yes, from oreon home page ---> configuration ---> nagios ---> generate ( Nagios Configuration Files Export)
restarted nagios
doesn't work
naparuba
27th February 2008, 12:08
Can you check the real configuration of nagios in /usr/local/nagios/etc and see if you can see yours hosts?
daniele
27th February 2008, 15:06
the problem seems to be there
in /usr/local/nagios/etc files are olds
I rerun export and centreon give no errors:
Nagios 2.10
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 10-21-2007
License: GPL
Reading configuration data...
Running pre-flight check on configuration data...
Checking services...
Checked 251 services.
Checking hosts...
Checked 163 hosts.
Checking host groups...
Checked 12 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 48 commands.
Checking time periods...
Checked 8 time periods.
Checking extended host info definitions...
Checked 0 extended host info definitions.
Checking extended service info definitions...
Checked 0 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
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
But files are not upgraded...
daniele
27th February 2008, 16:16
Sorry, I forgot to check "Move Export Files" :-(
Now it works almost everithing
Thanks
Daniele