Announcement

Collapse
No announcement yet.

Update oreon 1.4 >>>> Centreon 1.4.1

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

  • Update oreon 1.4 >>>> Centreon 1.4.1

    Hello,

    Je viens de faire une update, car je n'avais pas les graphes sur oreon 1.4 meme si tous les services étaient bien présents.

    J'ai bien choisi l'utrpdate 1.4 vers 1.4.1 en mysql ...

    Mais lorsque je veux regarder les graphes : voici l'erreur :


    Mysql Error : SELECT DISTINCT host_name FROM index_data WHERE `trashed` = '0' ORDER BY `host_name` [nativecode=1054 ** Unknown column 'trashed' in 'where clause']
    Fatal error: Call to undefined method DB_Error::fetchInto() in /usr/local/oreon/www/include/views/graphs/graphODS/graphODS.php on line 73

    cela dit quelque chose à quelqu'un ?

    @+
    Manu

  • #2
    tu n'as pas fait l'upgrade sql de la base ods comme indiqué dans le wiki

    regarde sur le wiki.
    Julien Mathis
    Centreon Project Leader
    www.merethis.com |

    Comment


    • #3
      En fait, via l'interface web de l'installation , j'ai bien MAJ "upgrade 1.4 to 1.4.1" ...

      cela ne suffit pas ? ou ce n'est pas le bon upgrade ?

      Sur le wiki : http://wiki.oreon-project.org/index....reon-1.4.1_%3F

      J'ai modifié : ./renameDS.pl en mettant :

      #my $installedPath = "@[email protected]/ODS/";
      my $installePath = "/usr/local/oreon/ODS";


      x10:/data/centreon-1.4.1/scripts# ./renameDS.pl
      Global symbol "$installedPath" requires explicit package name at ./renameDS.pl line 39.
      Global symbol "$installedPath" requires explicit package name at ./renameDS.pl line 40.
      Execution of ./renameDS.pl aborted due to compilation errors.
      x10:/data/centreon-1.4.1/scripts#

      Est-ce normal ?

      Ceci dit : je n'ai plus l'erreur ... mais pas contre , je n'ai tjs pas ms graphes, j'ai juste mis pour débuter : check_oren_ping pour voir si tout est ok. Mais rien
      Last edited by nslmanu; 10 August 2007, 12:45.

      Comment


      • #4
        -> http://wiki.oreon-project.org/index....reon-1.4.1_%3F
        Julien Mathis
        Centreon Project Leader
        www.merethis.com |

        Comment


        • #5
          j'ai suivi le wiki

          Je n'ai plus d'erreur MYSQL en tous cas.

          j'ai modifié dans nagios2 :

          check_oreon_ping.pl par check_centreon_ping et j'ai tout relancé.

          et malgré la conf du wiki pour les graphes : je n'ai pas de fichiers rrd.

          Par contre un truc bizarre : nagios2 fonctionne bien , mais lorsque je le relance via centreon :

          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...
          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 50 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.



          Alors qu'à la mano : aucunes erreurs.

          cela te parle ?

          Et j'obtiens cela : http://img405.imageshack.us/img405/6186/67827070qs6.jpg

          Comment


          • #6
            héhé tu n'as aucun host dans la conf de centreon ?
            Julien Mathis
            Centreon Project Leader
            www.merethis.com |

            Comment


            • #7
              Je crois que si :

              ICI IMAGE

              On voit le localhost et gateway avec 2 services : GRAPH et GRAPH2 que j'ai appelé via : check_centreon_ping dans les fichiers conf de nagios2.

              J'ai créé ces 2 services, juste histoire de voir les 2 graphes apparaitre ... mais nada

              Quand je redémarre nagios à la mano enligne de commande : ok mais via Centreon : ça plante d'où mon erreur.

              Comment


              • #8
                Originally posted by julio View Post
                héhé tu n'as aucun host dans la conf de centreon ?
                Voilà j'ai rajouté un serveur ...

                En fait celui qui apparaissait était celui définit dans Nagios2 et non Centron.
                Le problème est qu'il n'apparait pas dans le monitoring.

                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 1 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 51 commands.
                Checking time periods...
                Checked 5 time periods.
                Checking extended host info definitions...
                Checked 1 extended host info definitions.
                Checking extended service info definitions...
                Checked 1 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

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

                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: 1
                Total scheduled hosts: 1
                Host inter-check delay method: SMART
                Average host check interval: 60.00 sec
                Host inter-check delay: 60.00 sec
                Max host check spread: 30 min
                First scheduled check: Fri Aug 10 16:30:20 2007
                Last scheduled check: Fri Aug 10 16:30:20 2007


                SERVICE SCHEDULING INFORMATION
                -------------------------------
                Total services: 1
                Total scheduled services: 1
                Service inter-check delay method: SMART
                Average service check interval: 60.00 sec
                Inter-check delay: 60.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: Fri Aug 10 16:31:20 2007
                Last scheduled check: Fri Aug 10 16:31:20 2007


                CHECK PROCESSING INFORMATION
                ----------------------------
                Service check reaper interval: 10 sec
                Max concurrent service checks: 20


                PERFORMANCE SUGGESTIONS
                -----------------------
                I have no suggestions - things look okay.

                Comment

                Working...
                X