Announcement

Collapse
No announcement yet.

problème de génération de fichier (problem with config file)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • problème de génération de fichier (problem with config file)

    A le fin de mon install et de ma première config sur oréon, lorsque je génère le fichier de config voila ce qui m'arrive:

    *At the end of the install & my first config on oreon, when i launch the config file i have this message:

    Nagios 1.4.1
    Copyright (c) 1999-2006 Ethan Galstad ([email protected])
    Last Modified: 05-15-2006
    License: GPL

    Reading configuration data...

    Error: Invalid host object directive 'hostgroups'.

    Error: Could not add object property in file '/usr/local/oreon/filesGeneration/nagiosCFG/hosts.cfg' on line 24.


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

    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 on the main and host config files, as well as the
    'Whats New' section to find out what has changed.


    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
    misccommands.cfg - déplacement OK
    nagios.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

    Running configuration check...
    Nagios 1.4.1
    Copyright (c) 1999-2006 Ethan Galstad ([email protected])
    Last Modified: 05-15-2006
    License: GPL

    Reading configuration data...

    Error: Invalid host object directive 'hostgroups'.

    Error: Could not add object property in file '/usr/local/nagios/etc/hosts.cfg' on line 24.


    ***> 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 on the main and host config files, as well as the
    'Whats New' section to find out what has changed.

    failed - aborting restart.

    Si qq'un à une idée??
    *if someone has an idea?

    merci à tous
    *thanks to all
    that which does not kill us, make us stronger

  • #2
    Declaration d'un group qui est vide ?
    Manque quelquechose dans ta conf peut-être :idea:
    Intel(R) Xeon(TM) CPU 3.4GHz - MemTotal : 1034476 kB
    Centreon 2.4.1 - Nagios 3.2.1 - Nagios Plugins 1.4.15 - Manubulon Plugins tuné
    Fedora Core 5 - 2.6.20-1.2320

    Comment

    Working...
    X