Announcement

Collapse
No announcement yet.

Problème pour créer des hosts

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

  • Problème pour créer des hosts

    Salut,
    j'ai installé Centreon en suivant le tuto a l'adresse suivante
    http://blog.nicolargo.com/2007/10/in...us-ubuntu.html
    (vraiment bien fait même pour les nuls en Linux, comme moi ), tout à l'air de fonctionner correctement.
    Mes problèmes commencent pour la création de hosts. j'ai essayé d'importer ma config (Nagios 2.6 Oreon 1.4) et tout se passe sans problème les hosts sont importés dans Centreon et quand je regenere les fichiers Nagios retourne 0 warning, 0 error, mais les hosts n'apparaisent pas dans l'onglet monitoring.
    si je vais dans nagios les hosts n'apparaissent pas non plus.
    je pensaisd que le problème venait de l'import mais si je crée un host à la main il n'apparait pas non plus.
    j'ai regardé sur le forum, et j'ai essayé plusieurs choses:

    debian:~# /etc/init.d/nagios status
    nagios (pid 25544) is running...

    debian:~# /etc/init.d/nagios check
    Running configuration check...

    Nagios 3.0b4
    Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
    Last Modified: 09-27-2007
    License: GPL

    Reading configuration data...

    Running pre-flight check on configuration data...

    Checking services...
    Checked 8 services.
    Checking hosts...
    Checked 1 hosts.
    Checking host groups...
    Checked 1 host groups.
    Checking service groups...
    Checked 0 service groups.
    Checking contacts...
    Checked 1 contacts.
    Checking contact groups...
    Checked 1 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 24 commands.
    Checking time periods...
    Checked 5 time periods.
    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: 0

    Things look okay - No serious problems were detected during the pre-flight check
    done.
    Stopping nagios: .done.
    Starting nagios:No directory, logging in with HOME=/
    done.


    debian:~# /usr/local/nagios/bin/nagios -v /usr/local/nagios/nagios.cfg

    Nagios 3.0b4
    Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
    Last Modified: 09-27-2007
    License: GPL

    Reading configuration data...

    Warning: aggregate_status_updates directive ignored. All status file updates are now aggregated.
    Warning: downtime_file variable ignored. Downtime entries are now stored in the status and retention files.
    Warning: comment_file variable ignored. Comments are now stored in the status and retention files.
    Running pre-flight check on configuration data...

    Checking services...
    Checked 1 services.
    Checking hosts...
    Checked 1 hosts.
    Checking host groups...
    Checked 0 host groups.
    Checking service groups...
    Checked 0 service groups.
    Checking contacts...
    Checked 1 contacts.
    Checking contact groups...
    Checked 1 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 47 commands.
    Checking time periods...
    Checked 5 time periods.
    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: 0

    Things look okay - No serious problems were detected during the pre-flight check

    debian:~# cat /usr/local/nagios/var/nagios.log
    la fin du fichier
    [1192702335] Caught SIGTERM, shutting down...
    [1192702335] Successfully shutdown... (PID=21959)
    [1192702335] Nagios 3.0b4 starting... (PID=25543)
    [1192702335] LOG VERSION: 2.0
    [1192702335] Finished daemonizing... (New PID=25544)
    [1192702465] Caught SIGTERM, shutting down...
    [1192702465] Successfully shutdown... (PID=25544)
    [1192702467] Nagios 3.0b4 starting... (PID=26934)
    [1192702467] LOG VERSION: 2.0
    [1192702467] Finished daemonizing... (New PID=26935)
    debian:~#

    ce qui n'a pas l'air correct c'est dans le check
    Starting nagios:No directory, logging in with HOME=/

    et dans le nagios -v
    Warning: aggregate_status_updates directive ignored. All status file updates are now aggregated.
    Warning: downtime_file variable ignored. Downtime entries are now stored in the status and retention files.
    Warning: comment_file variable ignored. Comments are now stored in the status and retention files.

    mais pour etre franc je ne comprends pas la signification de ces messages.
    si quelqu'un peut m'aider.
    Merci

  • #2
    Bonjour,

    Moi ce qui me fait peur c'est le "Nagios 3.0b4", vu tout ce qu'ils ont changé à mon avis la version 3 ne passe pas trop bien avec Centreon, tout comme à l'époque quand la version 2 venait de sortir. Reste sur une 2.9 en attendant le passage en stable de la 3, vus les warnings ça vient de là.
    Système : Debian Etch 4.0r8 / Apache 2.2.3 / PHP 5.2.0 / MySQL 5.0.32
    Monitoring : Nagios 2.12 / Plugins 1.4.13 / Centreon 1.4.2.7

    Comment

    Working...
    X