Announcement

Collapse
No announcement yet.

Erreur génération fichier de configuration

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

  • Erreur génération fichier de configuration

    Bonjour à tous !

    VOilà, j'ai un problème lorsque je génere le fichier de configuration :


    Nagios 2.6
    Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
    Last Modified: 11-27-2006
    License: GPL

    Reading configuration data...

    Running pre-flight check on configuration data...

    Checking services...
    Checked 13 services.
    Checking hosts...
    Checked 10 hosts.
    Checking host groups...
    Checked 4 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 4 time periods.
    Checking extended host info definitions...
    Checked 10 extended host info definitions.
    Checking extended service info definitions...
    Checked 13 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: 0

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

    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

    Restarting nagios2 monitoring daemon: nagios2unable to determine nagios_check_command from /etc/nagios2/cgi.cfg!...failed.
    La génération fonctionnait correctement ce matin, et cette aprèm, paf, une erreur

    Une solution ?

    Merci pour votre aide !

    ---
    Debian 4.0 Etch
    Oreon 1.4
    Nagios 2.6 (paquets Debian)
    Last edited by seb974; 18 July 2007, 12:03.

  • #2
    Finalement j'ai trouvé >.<

    Je sais pas comment, mais un path a été modifié apparement, j'ai donc fait :

    # mysql -u root -p
    Enter password:
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 20
    Server version: 5.0.32-Debian_7etch1-log Debian etch distribution

    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

    mysql> use oreon
    Reading table information for completion of table and column names
    You can turn off this feature to get a quicker startup with -A

    mysql> UPDATE cfg_cgi SET nagios_check_command = 'nagios_check_command=/usr/lib/nagios/plugins/check_nagios /var/cache/nagios2/ status.dat 5 '/usr/sbin/nagios2'';
    Query OK, 1 row affected (0.01 sec)
    Rows matched: 1 Changed: 1 Warnings: 0
    Dsl du dérangement

    ---

    Par contre, il arrive que le deamon nagios soit arreté, vu qu'il me dit :

    Reloading nagios2 monitoring daemon configuration files: nagios2Not running.
    failed!
    Du coup je choisi Restart au lieu de Reload. Est-ce normal ?

    Comment

    Working...
    X