IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Applications et environnements graphiques Discussion :

[Nagios/Centreon]Génération des fichiers de configuration "KO"


Sujet :

Applications et environnements graphiques

  1. #1
    Membre régulier
    Profil pro
    Inscrit en
    Septembre 2008
    Messages
    99
    Détails du profil
    Informations personnelles :
    Localisation : France, Savoie (Rhône Alpes)

    Informations forums :
    Inscription : Septembre 2008
    Messages : 99
    Points : 93
    Points
    93
    Par défaut [Nagios/Centreon]Génération des fichiers de configuration "KO"
    Bonjours à tous, je vien d'installer Nagios et Centreon, jusqu'a là tous va bien.
    Le seul probleme vient au moment ou je veut que Centreon me charge une nouvel config.
    Voci la génération de mon fichier de configuration:
    LE probleme vien du déplacement des fichier (en bas)
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
     
    Nagios 2.11
    Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
    Last Modified: 03-12-2008
    License: GPL
     
    Reading configuration data...
     
    Running pre-flight check on configuration data...
     
    Checking services...
    Checked 4 services.
    Checking hosts...
    Warning: Host 'test' has no services associated with it!
    Checked 2 hosts.
    Checking host groups...
    Checked 1 host groups.
    Checking service groups...
    Checked 0 service groups.
    Checking contacts...
    Checked 2 contacts.
    Checking contact groups...
    Checked 2 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 73 commands.
    Checking time periods...
    Checked 5 time periods.
    Checking extended host info definitions...
    Checked 2 extended host info definitions.
    Checking extended service info definitions...
    Checked 4 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: 1
    Total Errors: 0
     
    Things look okay - No serious problems were detected during the pre-flight check
     
    Nagios 2.11
    Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
    Last Modified: 03-12-2008
    License: GPL
     
    Warning: Host 'test' has no services associated with it!
    Projected scheduling information for host and service
    checks is listed below. This information assumes that
    you are going to start running Nagios with your current
    config files.
     
    HOST SCHEDULING INFORMATION
    ---------------------------
    Total hosts: 2
    Total scheduled hosts: 2
    Host inter-check delay method: SMART
    Average host check interval: 180.00 sec
    Host inter-check delay: 90.00 sec
    Max host check spread: 30 min
    First scheduled check: Wed Nov 19 11:23:21 2008
    Last scheduled check: Wed Nov 19 11:24:51 2008
     
     
    SERVICE SCHEDULING INFORMATION
    -------------------------------
    Total services: 4
    Total scheduled services: 4
    Service inter-check delay method: SMART
    Average service check interval: 300.00 sec
    Inter-check delay: 75.00 sec
    Interleave factor method: SMART
    Average services per host: 2.00
    Service interleave factor: 2
    Max service check spread: 30 min
    First scheduled check: Wed Nov 19 11:25:51 2008
    Last scheduled check: Wed Nov 19 11:29:36 2008
     
     
    CHECK PROCESSING INFORMATION
    ----------------------------
    Service check reaper interval: 10 sec
    Max concurrent service checks: 20
     
     
    PERFORMANCE SUGGESTIONS
    -----------------------
    I have no suggestions - things look okay.
     
     
    cgi.cfg - déplacement OK
    checkcommands.cfg - déplacement KO
    contactgroups.cfg - déplacement KO
    contacts.cfg - déplacement KO
    dependencies.cfg - déplacement KO
    escalations.cfg - déplacement KO
    hostextinfo.cfg - déplacement KO
    hostgroups.cfg - déplacement KO
    hosts.cfg - déplacement KO
    meta_commands.cfg - déplacement KO
    meta_contact.cfg - déplacement KO
    meta_contactgroup.cfg - déplacement KO
    meta_dependencies.cfg - déplacement KO
    meta_escalations.cfg - déplacement KO
    meta_host.cfg - déplacement KO
    meta_hostgroup.cfg - déplacement KO
    meta_services.cfg - déplacement KO
    meta_timeperiod.cfg - déplacement KO
    misccommands.cfg - déplacement KO
    nagios.cfg - déplacement OK
    perfparse.cfg - déplacement KO
    resource.cfg - déplacement OK
    serviceextinfo.cfg - déplacement KO
    servicegroups.cfg - déplacement KO
    services.cfg - déplacement KO
    timeperiods.cfg - déplacement KO
     
    Running configuration check... FAILED! Reload aborted. Check your Nagios configuration.
    Tous fonctionne sauf le déplacement des fichier.
    J'ai fait un chmod 775 sur le dossier qui contien les fichier de configuration à déplacer mais en vain.
    Si vous avez des sugestions.
    Si je trouve la solution, je la poste direct vu comment je rame
    MErci

  2. #2
    Membre régulier
    Profil pro
    Inscrit en
    Septembre 2008
    Messages
    99
    Détails du profil
    Informations personnelles :
    Localisation : France, Savoie (Rhône Alpes)

    Informations forums :
    Inscription : Septembre 2008
    Messages : 99
    Points : 93
    Points
    93
    Par défaut
    Voila apres quelque heure de recherche, j'ai trouvé la solution:

    Cela venait d'un probleme de propriétaire/groupe et de droit d'exécution, cela a été résolu par:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    chown -R apache:nagios /etc/nagios/
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    chmod -R 775 /etc/nagios/
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
     
      Statuts  
     
    Nagios 2.11
    Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
    Last Modified: 03-12-2008
    License: GPL
     
    Reading configuration data...
     
    Running pre-flight check on configuration data...
     
    Checking services...
    Checked 4 services.
    Checking hosts...
    Warning: Host 'test' has no services associated with it!
    Warning: Host 'test1' has no services associated with it!
    Warning: Host 'test3' has no services associated with it!
    Checked 4 hosts.
    Checking host groups...
    Checked 1 host groups.
    Checking service groups...
    Checked 0 service groups.
    Checking contacts...
    Checked 2 contacts.
    Checking contact groups...
    Checked 2 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 73 commands.
    Checking time periods...
    Checked 5 time periods.
    Checking extended host info definitions...
    Checked 4 extended host info definitions.
    Checking extended service info definitions...
    Checked 4 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: 3
    Total Errors: 0
     
    Things look okay - No serious problems were detected during the pre-flight check
     
    Nagios 2.11
    Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
    Last Modified: 03-12-2008
    License: GPL
     
    Warning: Host 'test' has no services associated with it!
    Warning: Host 'test1' has no services associated with it!
    Warning: Host 'test3' has no services associated with it!
    Projected scheduling information for host and service
    checks is listed below. This information assumes that
    you are going to start running Nagios with your current
    config files.
     
    HOST SCHEDULING INFORMATION
    ---------------------------
    Total hosts: 4
    Total scheduled hosts: 3
    Host inter-check delay method: SMART
    Average host check interval: 140.00 sec
    Host inter-check delay: 46.67 sec
    Max host check spread: 30 min
    First scheduled check: Wed Nov 19 13:13:02 2008
    Last scheduled check: Wed Nov 19 13:14:35 2008
     
     
    SERVICE SCHEDULING INFORMATION
    -------------------------------
    Total services: 4
    Total scheduled services: 4
    Service inter-check delay method: SMART
    Average service check interval: 300.00 sec
    Inter-check delay: 75.00 sec
    Interleave factor method: SMART
    Average services per host: 1.00
    Service interleave factor: 1
    Max service check spread: 30 min
    First scheduled check: Wed Nov 19 13:18:02 2008
    Last scheduled check: Wed Nov 19 13:21:47 2008
     
     
    CHECK PROCESSING INFORMATION
    ----------------------------
    Service check reaper interval: 10 sec
    Max concurrent service checks: 20
     
     
    PERFORMANCE SUGGESTIONS
    -----------------------
    I have no suggestions - things look okay.
     
     
    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
    meta_commands.cfg - déplacement OK
    meta_contact.cfg - déplacement OK
    meta_contactgroup.cfg - déplacement OK
    meta_dependencies.cfg - déplacement OK
    meta_escalations.cfg - déplacement OK
    meta_host.cfg - déplacement OK
    meta_hostgroup.cfg - déplacement OK
    meta_services.cfg - déplacement OK
    meta_timeperiod.cfg - déplacement OK
    misccommands.cfg - déplacement OK
    nagios.cfg - déplacement OK
    perfparse.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...done
    Reloading nagios configuration...done
    Bye

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Génération des fichiers PDF
    Par giannichedda dans le forum Servlets/JSP
    Réponses: 1
    Dernier message: 21/05/2007, 08h29
  2. génération des fichier de contrôle hot_backup
    Par Mehdilis dans le forum Administration
    Réponses: 1
    Dernier message: 27/04/2007, 08h36

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo