Bonjour à tous,
Je viens de terminer l'installation de centreon 1.4.2.3 et je vien de faire un test. j'ai donc commencé par saisir un utilisateur qui est dans un groupe, puis j'ai crée un groupe d'hôte, une hôte et un service qui lui est rattaché.. je génére la base en faisant redémarrer nagios (configuration => nagios) :
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 1 services.
Checking hosts...
Checked 1 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 2 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 44 commands.
Checking time periods...
Checked 5 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
Nagios 2.10
Copyright (c) 1999-2007 Ethan Galstad (
http://www.nagios.org)
Last Modified: 10-21-2007
License: GPL
Projected scheduling information for host and service
checks is listed below. This information assumes that
you are going to start running Nagios with your current
config files.
HOST SCHEDULING INFORMATION
---------------------------
Total hosts: 1
Total scheduled hosts: 1
Host inter-check delay method: SMART
Average host check interval: 60.00 sec
Host inter-check delay: 60.00 sec
Max host check spread: 30 min
First scheduled check: Tue Feb 5 17:28:03 2008
Last scheduled check: Tue Feb 5 17:28:03 2008
SERVICE SCHEDULING INFORMATION
-------------------------------
Total services: 1
Total scheduled services: 1
Service inter-check delay method: SMART
Average service check interval: 60.00 sec
Inter-check delay: 60.00 sec
Interleave factor method: SMART
Average services per host: 1.00
Service interleave factor: 1
Max service check spread: 30 min
First scheduled check: Tue Feb 5 17:29:03 2008
Last scheduled check: Tue Feb 5 17:29:03 2008
CHECK PROCESSING INFORMATION
----------------------------
Service check reaper interval: 10 sec
Max concurrent service checks: 20
PERFORMANCE SUGGESTIONS
-----------------------
I have no suggestions - things look okay.
cgi.cfg - déplacement OK
checkcommands.cfg - déplacement OK
contactgroups.cfg - déplacement OK
contacts.cfg - déplacement OK
dependencies.cfg - déplacement OK
escalations.cfg - déplacement OK
hostextinfo.cfg - déplacement OK
hostgroups.cfg - déplacement OK
hosts.cfg - déplacement OK
meta_commands.cfg - déplacement OK
meta_contact.cfg - déplacement OK
meta_contactgroup.cfg - déplacement OK
meta_dependencies.cfg - déplacement OK
meta_escalations.cfg - déplacement OK
meta_host.cfg - déplacement OK
meta_hostgroup.cfg - déplacement OK
meta_services.cfg - déplacement OK
meta_timeperiod.cfg - déplacement OK
misccommands.cfg - déplacement OK
nagios.cfg - déplacement OK
perfparse.cfg - déplacement OK
resource.cfg - déplacement OK
serviceextinfo.cfg - déplacement OK
servicegroups.cfg - déplacement OK
services.cfg - déplacement OK
timeperiods.cfg - déplacement OK
il devrait avoir à la fin :
Restarting nagios2 monitoring daemon : nagios2.
le probleme c'est que moi je ne l'ai pas ça et centreon me surveille rein dutout :
Status des Hotes Up Down Inaccessible En Attente
0 0 0 0
Status des Services Ok Attention Critique En Attente Inconnu
0 0 0 0 0
j'ai regardé mes fichier de conf de nagios et ça me l'ai à bien complété.
Sur l'interface de nagios j'obtient le message d'erreur suivant :
Whoops!
Error: Could not read host and service status information!
The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios.
Some other things you should check in order to resolve this error include:
Check the Nagios log file for messages relating to startup or status data errors.
Always verify configuration options using the -v command-line option before starting or restarting Nagios!
Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems.
Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.
Est-ce que quelqu'un peut m'aider???
merci