Announcement

Collapse
No announcement yet.

Transfert oreon nagios

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

  • Transfert oreon nagios

    Nagios 2.5
    Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
    Last Modified: 07-13-2006
    License: GPL

    Reading configuration data...

    Error: Invalid command object directive '"$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEO UTP UT$\t$SERVICESTATE$\t$SERVICEPERFDATA$\n"'.
    Error: Could not add object property in file '/usr/local/oreon/filesGeneration/nagiosCFG/misccommands.cfg' on line 53.

    ***> 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 another 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 regarding the 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... FAILED! Restart aborted. Check your Nagios configuration.


    voici l'erreur que m'affiche oreon lors du transfert de oreon a nagios et voici la ligne de commande associé:

    "
    Code:

    /usr/bin/printf"%b"
    "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPU T$\t$SERVICESTATE$\t$SERVICEPERFDATA$\n" | /usr/local/nagios/bin/perfparse-log2mysql -c
    /usr/local/nagios/etc/perfparse.cfg"

    je ne comprend pas pourquoi il n'y a pas de communication oreon nagios
    merci de votre aide

  • #2
    Pas bien les copier coller des commandes
    Faut les tapers ŕ la main si on ne veut pas d'erreurs étranges.
    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


    • #3
      Code:
      /usr/bin/printf"%b"
      "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICESTATE$\t$SERVICEPERFDATA$\n" | /usr/local/nagios/bin/perfparse-log2mysql -c
      /usr/local/nagios/etc/perfparse.cfg"
      voila la vrai version dsl mais j espere que vousaurez une reponse a mes demande
      merci

      Comment


      • #4
        pourquoi tu colles "%b" ŕ printf ?
        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


        • #5
          voici l erreur que l on m affiche:

          Nagios 2.5
          Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
          Last Modified: 07-13-2006
          License: GPL

          Reading configuration data...

          Error: Invalid command object directive '"$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTP UT$\t$SERVICESTATE$\t$SERVICEPERFDATA$\n"'.
          Error: Could not add object property in file '/usr/local/oreon/filesGeneration/nagiosCFG/misccommands.cfg' on line 53.

          ***> 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 another 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 regarding the 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... FAILED! Restart aborted. Check your Nagios configuration.


          et voici ma commande:
          Code:
          "/usr/bin/printf "%b"
          "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICESTATE$\t$SERVICEPERFDATA$\n" | /usr/local/nagios/bin/perfparse-log2mysql -c
          /usr/local/nagios/etc/perfparse.cfg"
          ca fait deja quelque jours que j ai cette erreur et je ne comprend plus rien.
          merci de m aider

          Comment


          • #6
            j ai l impression que perfparse n est pas installer sur mon serveur car sur les deux chemin indiquer qui sont:
            Code:
            /usr/local/nagios/bin/perfparse-log2mysql
            Code:
            /usr/local/nagios/etc/perfparse.cfg
            les deux fichiers perfparse-log2mysql et perfparse.cfg ne sont ni dans l un ni dans l autre des deux chemin indiquer.
            Comment faire pour y resoudre ou faut il que je reinstall perfparse et si oui comment?
            merci

            Comment

            Working...
            X