PDA

View Full Version : Erreur dans serviceextinfo


guerrieru2a
02-05-2008, 11:09 AM
Bonjour

Je tourne sur une Suse 10.
J'ai installé Centreon 1.423 et nagios stable. J'ai ajouté juste un minimum pour faire quelque test, en vue de savoir utiliser les soft pour mon oral de BTS.

Mais depuis hier j'ai une erreur quand je fais un restart

Error: Could not add duplicate serviceextinfo entry for service 'ping' on host 'anthony'.
Error: Could not allocate memory for serviceextinfo list to add extended info for service 'ping' on host 'anthony'.
Error: Could not register extended service information (config file '/usr/local/nagios/etc/serviceextinfo.cfg', starting on line 28)

Contenue de mon fichier serviceextinfo

# 'poste07'/'ping' Service Extended Information definition 1
define serviceextinfo{
host_name poste07
service_description ping
icon_image empty.gif
}

# 'poste07'/'ping' Service Extended Information definition 2
define serviceextinfo{
host_name poste07
service_description ping
icon_image empty.gif

J'ai beau tout supprimer et tout refaire l'erreur reviens tjrs. Elel change de ligne ...

Et si je supprime le fichier serviceextinfo, il se recrait tout seul ...

Je comprends vraiment pas ...

Merci, pour votre aide

guerrieru2a
02-05-2008, 11:10 AM
Contenu entier

Statuts

Nagios 2.10
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 10-21-2007
License: GPL

Reading configuration data...

Error: Could not add duplicate hostextinfo entry for host 'poste07'.
Error: Could not allocate memory for hostextinfo list to add extended info for host 'poste07'.
Error: Could not register extended host information (config file '/usr/local/centreon/filesGeneration/nagiosCFG/hostextinfo.cfg', starting on line 27)

***> The name of the main configuration file looks suspicious...

Make sure you are specifying the name of the MAIN configuration file on
the command line and not the name of another configuration file. The
main configuration file is typically '/usr/local/nagios/etc/nagios.cfg'

***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.

near
02-26-2008, 03:05 PM
Exactement le même soucis aujourd'hui, pas réussi à m'en dépatouillé. C'est juste après avoir configuré des dépendances.