No announcement yet.

Error When Generating Configuration File

  • Filter
  • Time
  • Show
Clear All
new posts

  • Error When Generating Configuration File

    When using the Nagios Configuration Files Export, I get the following error message.

    Nagios 2.5
    Copyright (c) 1999-2006 Ethan Galstad (
    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.

  • #2
    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


    • #3
      Now Working

      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.


      • #4
        no worries nice to see people on the oreon boat.......


        • #5
          même problème !


          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


          • #6
            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.
            Julien Mathis
            Centreon Project Leader


            • #7
              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 ?



              • #8
                non oreon-1.2 = nagios 1.
                Julien Mathis
                Centreon Project Leader