PDA

View Full Version : Error When Generating Configuration File


nolim8ts
08-23-2006, 12:20 PM
When using the Nagios Configuration Files Export, I get the following error message.

Nagios 2.5
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 07-13-2006
License: GPL

Reading configuration data...

Error in configuration file '/usr/local/oreon/www/../filesGeneration/nagiosCFG/nagiosCFG.DEBUG' - Line 52 (UNKNOWN VARIABLE)

***> 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.

I am currently running Oreon on Fedora Core 5 with php5 and mysql5.

ed300900
08-24-2006, 05:32 PM
Options generales, verifie Nagios Version = 2

general options, verify that Nagios Version = 2

=> Bien regarder que la validation du form est OK

Also, check, that the form validation is OK

=> allez editer le formulaire Nagios.cfg

Go and edit the form nagios.cfg

=> le valider (cela va purger les mauvais champs de Nagios 1 renseigné)

Validate it (This will clean the bad fields of Nagios 1)

=> allez generer

Go, generate


really this works

nolim8ts
08-25-2006, 03:29 AM
I worked out that I was selecting the wrong version of Nagios which was causing in the error. Thanks for your reply as it was spot on. :)

ed300900
08-25-2006, 10:31 AM
no worries nice to see people on the oreon boat.......

zoulfa
12-19-2006, 12:02 PM
bonjour,

je travaille avec nagios 2 0b 6 et je viens d'installer oreon 1.2-rc4 .
quand je met configuration général j arrive pas à changer la version de nagios .
comment faire ?
je vous signale qu'au moment de l'nstallation d'oreon il m as pas donner la main pour changer la version 1 et mettre 2


merçi d'avance

julio
12-19-2006, 12:41 PM
deja t dans la partie anglaise !

et en plus c marqué noir sur blanc que oreon-1.2 ne fonctionne qu'avec nagios 1.

installa nagios 2.6 en plus. la 2b6 est buggée. C'est une beta. et install oreon-1.3.3.

bon courage.

zoulfa
12-19-2006, 06:03 PM
d'abord dsl
oreon 1.3 nécéssite plusieurs pre requis la raison pour laquelle je l utilise pas
il n existe pas une autre solution ?

merçi.

julio
12-19-2006, 06:21 PM
non oreon-1.2 = nagios 1.