bonjour,
j'importe une conf de nagios 1.2/oreon 1.2.3 vers nagios 1.2/oreon 1.3.3
j'ai bien remplacé le fichier /usr/local/oreon/www/include/configuration/configGenerate/DB-Func.php comme indiqué dans le forum > import commands + miscommands.cfg > OK
par contre en important le reste de la conf, j'ai une erreur a la generation
alors j'essaye d'importer nagios.cfg avant le reste et j'ai :
et si j'indique de remplacer completement le fichier j'ai la même erreur avec en plus:
le fonctionnement normal est Ok a part ça
j'ai créé un host + service à la mano > OK
mais là je bloque...
j'importe une conf de nagios 1.2/oreon 1.2.3 vers nagios 1.2/oreon 1.3.3
j'ai bien remplacé le fichier /usr/local/oreon/www/include/configuration/configGenerate/DB-Func.php comme indiqué dans le forum > import commands + miscommands.cfg > OK
par contre en important le reste de la conf, j'ai une erreur a la generation
Reading configuration data...
Error: Service description, host name, or check command is NULL
Error: Could not register service (config file '/usr/local/oreon/filesGeneration/nagiosCFG/services.cfg', line 653)
***> 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 the host 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...
Error: Service description, host name, or check command is NULL
Error: Could not register service (config file '/usr/local/oreon/filesGeneration/nagiosCFG/services.cfg', line 653)
***> 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 the host 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...
alors j'essaye d'importer nagios.cfg avant le reste et j'ai :
Fatal error: Call to a member function on a non-object in /usr/local/oreon/www/include/configuration/configNagios/DB-Func.php on line 273
et si j'indique de remplacer completement le fichier j'ai la même erreur avec en plus:
DB Error : DELETE FROM cfg_nagios; : DB Error: syntax error
le fonctionnement normal est Ok a part ça
j'ai créé un host + service à la mano > OK
mais là je bloque...
Comment