Announcement

Collapse
No announcement yet.

Impossible de démarrer nagios

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

  • Impossible de démarrer nagios

    J'ai installé nagios : il fonctionnait correctement, je pouvais le redémarrer.
    Puis j'ai installé centreon : tout c bien passé mais quand j'ai voulu redémarrer nagios : erreur
    j'ai également redémarrer le serveur : rien à faire.

    Voici l'erreur :
    One or more problems was encountered while running the pre-flight check...

    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.


    Merci de m'aider

  • #2
    Ce sont tes fichiers .cfg de nagios qui posent problèmes!

    Comment


    • #3
      Le pre-fligh check a du te donner le(s) fichier(s) qui pose(nt) problème...
      Sinon, il est possible aussi que Centreon soit mal configuré :roll:
      Guigui

      > PAS DE SUPPORT VIA MP <

      "Ce n'est qu'en essayant continuellement que l'on finit par réussir. En d'autres termes, plus ça rate et plus on a de chances que ça marche !!" (Shadoks)

      Comment


      • #4
        Voici l'erreur que j'ai en entière. Normalement je n'ai pas besoin de configurer mes
        hôtes, mes services ... pour pouvoir redémarrer nagios ?


        Running pre-flight check on configuration data...

        Checking services...
        Error: There are no services defined!
        Checked 0 services.
        Checking hosts...
        Error: There are no hosts defined!
        Checked 0 hosts.
        Checking host groups...
        Error: There are no host groups defined!
        Checked 0 host groups.
        Checking service groups...
        Checked 0 service groups.
        Checking contacts...
        Error: There are no contacts defined!
        Checked 0 contacts.
        Checking contact groups...
        Error: There are no contact groups defined!
        Checked 0 contact groups.
        Checking service escalations...
        Checked 0 service escalations.
        Checking service dependencies...
        Checked 0 service dependencies.
        Checking host escalations...
        Checked 0 host escalations.
        Checking host dependencies...
        Checked 0 host dependencies.
        Checking commands...
        Checked 44 commands.
        Checking time periods...
        Checked 5 time periods.
        Checking extended host info definitions...
        Checked 0 extended host info definitions.
        Checking extended service info definitions...
        Checked 0 extended service info definitions.
        Checking for circular paths between hosts...
        Checking for circular host and service dependencies...
        Checking global event handlers...
        Checking obsessive compulsive processor commands...
        Checking misc settings...

        Total Warnings: 0
        Total Errors: 5

        ***> One or more problems was encountered while running the pre-flight check...

        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.

        Comment


        • #5
          Desolé, en fait tout marche correctement.

          Il fallait déjà procéder à une première config des hosts et des services.

          Comment


          • #6
            Tu as 5 erreurs :

            Code:
            Error: There are no services defined!
            Error: There are no hosts defined!
            Error: There are no host groups defined!
            Error: There are no contacts defined!
            Error: There are no contact groups defined!
            Donc pour que tu puisses redémarrer Nagios il faut que :

            Tu crées au moins un service, un hôte un contact group et un contact! Essaie déjà ça!

            Comment

            Working...
            X