Announcement

Collapse
No announcement yet.

Nagios 2.4/Oreon 1.3

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

  • Nagios 2.4/Oreon 1.3

    Bonjour,
    je souhaite faire migrer mon nagios 1.2 et mon oreon 1.2.2, vers Nagios 2.4 et Oreon 1.3. J'ai regardé sur le forum pour la migration d'oreon il y a pas mal de choses mais pour la migration de Nagios pas grand choses....
    Deja je me demandais si la migration de nagios 1.2 a Nagios 2.4 etait possible en sauvegardant les fichiers de conf ou si il y avais trop de changement entre les deux versions ??
    Ensuite si il etait preferable de faire migrer en premier Oreon ou Nagios ??
    Et enfin sur le site d'Oreon (super le nouvo site d'ailleur :wink: ) les pre-requis d'Oreon 1.3 il y a ecris simplement Nagios 1.X et il n'y a pas Nagios 2.X c'est normal ??

    Voila et vivement la release de la 1.3 !!!!!!
    CentOS 6.5
    Centreon 2.5.4

  • #2
    Bonjour,

    Alors nous sommes en 1.3 compatible nagios 2.x. Je viens de mettre a jour le site.

    Je crois que rom va t'aiguiller un peu.

    Bonne chance :lol:
    Julien Mathis
    Centreon Project Leader
    www.merethis.com |

    Comment


    • #3
      Nagios 1.x => 2.x
      Niveau conf les contacts groups ne sont plus dans les host groups mais dans les hosts.
      Pas mal de parametres qui changent au nivo du Nagios.cfg
      A part ca les problemes d'install de base

      Oreon 1.2.x => 1.3RC1
      Je te conseille de monter la 1.3 en parallele de la 1.2.x
      Tu generes tes confs et les sauvent bien, tu les upload dans la 1.3 et tu verifies que tu n'as rien perdu. Je vais faire un HowTo sur la recuperation des bases rrd en 1.3
      Une fois que tt est good et que Nagios tourne avec ton Oreon 1.3, tu migres Nagios.

      Tu auras alors des poblemes de generation, et la tu migres tes conf pour qu'elles soient compatibles Nagios 2
      Romain Le Merlus
      Centreon Forge
      MERETHIS

      Comment


      • #4
        OK merci c du rapide les réponses !
        Je pense que je vais m'amuser pour migrer tout ca.....
        Bon sinon une autre erreur/oubli sur les prerequis d'oreon 1.3 ops:
        enfin celle la d'erreur je suis moins sure : php 4.X/5.X ??

        Sinon je viens de trouver un Howto pour la migration de Nagios sur un autre forum, j'avais cherché hier mais pas trouvé et la celui la a l'air pas mal :
        http://forums.opsyx.com/viewtopic.php?t=2926

        Voila je vous laisse retourner au boulot pour finir la 1.3 ..... :wink:
        CentOS 6.5
        Centreon 2.5.4

        Comment


        • #5
          Re,

          Merci j'ai fini de mettre a jour le site, merci encore.

          La RC1 est prete la. je viens de faire une derniere version du packet. Nous la testons un derniere fois ce soir et des que c'est bon nous la sortons...

          Merci pour le Tuto on va regarder ca :wink:
          Julien Mathis
          Centreon Project Leader
          www.merethis.com |

          Comment


          • #6
            Cool !
            ben moi je vais peut etre commencer a migrer Oreon demain alors si j'ai le temps.
            Et surtout travaillé pas trop tard quand meme lol :wink:
            CentOS 6.5
            Centreon 2.5.4

            Comment


            • #7
              Merci pour le lien vers le tuto !

              J'ai migré mon nagios 1.2 en 2.4 sans soucis !

              par contre petit probleme avec mon oreon 1.3 maintenant qui ne monitore plus et m'insulte à la genération de la conf

              Code:
              arning: fopen(/usr/local/nagios/libexec/oreon.conf): failed to open stream: Permission denied in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 138
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 161
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 158
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 161
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 158
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 161
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 158
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 161
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 158
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 161
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 158
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 161
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 158
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 161
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 168
              
              Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 171
              jvé chercher++
              Centreon Entreprise Server 2
              -------------

              Comment


              • #8
                Je crois que c un pb de droit que tu as d'apres le message d'erreur, il peut pas acceder a ton oreon.conf dans /usr/local/nagios/libexec
                CentOS 6.5
                Centreon 2.5.4

                Comment


                • #9
                  Code:
                  wxrwxr-x  1 www-data nagios     3024 2006-06-21 10:26 check_wave
                  -rwxrwxr-x  1 www-data nagios    76610 2006-06-21 10:26 negate
                  -rwxrwxr-x  1 www-data www-data   1394 2006-06-21 15:35 oreon.conf
                  -rwxrwxr-x  1 root     root       5817 2006-06-21 15:27 oreon.pm
                  -rwxrwxr-x  1 www-data nagios    74537 2006-06-21 10:26 urlize
                  -rwxrwxr-x  1 www-data nagios     2189 2006-06-21 10:26 utils.pm
                  -rwxrwxr-x  1 www-data nagios      732 2006-06-21 10:26 utils.sh

                  ???
                  Centreon Entreprise Server 2
                  -------------

                  Comment


                  • #10
                    T'as regardé ce qu'il y avait à la ligne de ta première erreur ?

                    /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php on line 138

                    Vi /usr/local/oreon/www/include/configuration/configGenerate/oreon_pm.php
                    :138
                    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


                    • #11
                      sisi j'ai regardé et il ya ça :

                      $handle = fopen($filename, 'wb');


                      mais ça ne me parle pas trop ....
                      Centreon Entreprise Server 2
                      -------------

                      Comment


                      • #12
                        Et les droits sur le dossier libexec ?
                        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


                        • #13
                          wala msieur je pense que c'est bon :

                          Code:
                          drwxrwxr-x  2 nagios   nagios   4096 2006-06-21 11:13 bin
                          drwxrwxr-x  2 www-data www-data 4096 2006-06-21 11:42 etc
                          drwxrwxr-x  2 www-data www-data 4096 2006-06-21 15:27 libexec
                          drwxrwxr-x  2 nagios   nagios   4096 2006-06-21 11:13 logos
                          drwxrwxr-x  2 nagios   nagios   4096 2006-06-21 11:26 sbin
                          drwxrwxr-x  8 nagios   nagios   4096 2006-06-21 11:13 share
                          drwxrwxr-x  4 nagios   nagios   4096 2006-06-28 12:06 var


                          Code:
                          -rwxrwxr-x  1 www-data nagios   2273 2006-06-21 10:26 check_breeze
                          -rwxrwxr-x  1 www-data nagios  82355 2006-06-21 10:26 check_by_ssh
                          -rwxrwxr-x  1 www-data nagios  77601 2006-06-21 10:26 check_dig
                          -rwxrwxr-x  1 www-data nagios  81196 2006-06-21 10:26 check_disk
                          -rwxrwxr-x  1 www-data nagios   7845 2006-06-21 10:26 check_disk_smb
                          -rwxrwxr-x  1 www-data nagios  83066 2006-06-21 10:26 check_dns
                          -rwxrwxr-x  1 www-data nagios  54006 2006-06-21 10:26 check_dummy
                          -rwxrwxr-x  1 www-data nagios   6400 2006-06-21 10:26 check_flexlm
                          lrwxrwxrwx  1 www-data nagios      9 2006-06-21 11:20 check_ftp -> check_tcp
                          -rwxrwxr-x  1 www-data nagios   6354 2006-06-21 15:27 check_graph_dell_temperature.pl
                          -rwxrwxr-x  1 www-data nagios   5671 2006-06-21 15:27 check_graph_http.pl
                          -rwxrwxr-x  1 www-data nagios   5499 2006-06-21 15:27 check_graph_load_average.pl
                          -rwxrwxr-x  1 www-data nagios  14415 2006-06-21 15:27 check_graph_nt.pl
                          -rwxrwxr-x  1 www-data nagios   6416 2006-06-21 15:27 check_graph_ping.pl
                          -rwxrwxr-x  1 www-data nagios   6827 2006-06-21 15:27 check_graph_process.pl
                          -rwxrwxr-x  1 www-data nagios   9596 2006-06-21 15:27 check_graph_remote_storage.pl
                          -rwxrwxr-x  1 www-data nagios   6240 2006-06-21 15:27 check_graph_snmp_value.pl
                          -rwxrwxr-x  1 www-data nagios   3946 2006-06-21 15:27 check_graph_tcp.pl
                          -rwxrwxr-x  1 www-data nagios  12766 2006-06-21 15:27 check_graph_traffic2.pl
                          -rwxrwxr-x  1 www-data nagios  11837 2006-06-21 15:27 check_graph_traffic.pl
                          -rwxrwxr-x  1 www-data nagios  11641 2006-06-21 15:27 check_graph_traffic_rrd.pl
                          -rwxrwxr-x  1 www-data nagios   5954 2006-06-21 15:27 check_graph_uptime.pl
                          -rwxrwxr-x  1 www-data nagios  79488 2006-06-21 10:26 check_hpjd
                          -rwxrwxr-x  1 www-data nagios 103066 2006-06-21 10:26 check_http
                          -rwxrwxr-x  1 www-data nagios  10750 2006-06-21 10:26 check_ifoperstatus
                          -rwxrwxr-x  1 www-data nagios   6589 2006-06-21 10:26 check_ifstatus
                          lrwxrwxrwx  1 www-data nagios      9 2006-06-21 11:20 check_imap -> check_tcp
                          -rwxrwxr-x  1 www-data nagios   7437 2006-06-21 10:26 check_ircd
                          -rwxrwxr-x  1 www-data nagios  78489 2006-06-21 10:26 check_load
                          -rwxrwxr-x  1 www-data nagios   5827 2006-06-21 10:26 check_log
                          -rwxrwxr-x  1 www-data nagios   4879 2006-06-21 10:26 check_mailq
                          -rwxrwxr-x  1 www-data nagios  14358 2006-06-21 15:27 check_meta_service.pl
                          -rwxrwxr-x  1 www-data nagios  62924 2006-06-21 10:26 check_mrtg
                          -rwxrwxr-x  1 www-data nagios  60978 2006-06-21 10:26 check_mrtgtraf
                          -rwxrwxr-x  1 www-data nagios  77596 2006-06-21 10:26 check_nagios
                          lrwxrwxrwx  1 www-data nagios      9 2006-06-21 11:20 check_nntp -> check_tcp
                          -rwxrwxr-x  1 www-data nagios  91723 2006-06-21 10:26 check_nt
                          -rwxrwxr-x  1 www-data nagios  12023 2006-06-21 10:26 check_ntp
                          -rwxrwxr-x  1 www-data nagios  96003 2006-06-21 10:26 check_nwstat
                          -rwxrwxr-x  1 www-data nagios   8121 2006-06-21 10:26 check_oracle
                          -rwxrwxr-x  1 www-data nagios  87898 2006-06-21 10:26 check_overcr
                          -rwxrwxr-x  1 www-data nagios  84050 2006-06-21 10:26 check_ping
                          lrwxrwxrwx  1 www-data nagios      9 2006-06-21 11:20 check_pop -> check_tcp
                          -rwxrwxr-x  1 www-data nagios  82842 2006-06-21 10:26 check_procs
                          -rwxrwxr-x  1 www-data nagios  85838 2006-06-21 10:26 check_real
                          -rwxrwxr-x  1 www-data nagios   9692 2006-06-21 10:26 check_rpc
                          -rwxrwxr-x  1 www-data nagios   1176 2006-06-21 10:26 check_sensors
                          -rwxrwxr-x  1 www-data nagios  85832 2006-06-21 10:26 check_smtp
                          -rwxrwxr-x  1 www-data nagios  96486 2006-06-21 10:26 check_snmp
                          -rwxrwxr-x  1 www-data nagios  15860 2006-06-21 15:27 check_snmp_cpfw.pl
                          -rwxrwxr-x  1 www-data nagios  17745 2006-06-21 15:27 check_snmp_load.pl
                          -rwxrwxr-x  1 www-data nagios  17290 2006-06-21 15:27 check_snmp_mem.pl
                          -rwxrwxr-x  1 www-data nagios  20196 2006-06-21 15:27 check_snmp_process.pl
                          -rwxrwxr-x  1 www-data nagios  22785 2006-06-21 15:27 check_snmp_storage.pl
                          -rwxrwxr-x  1 www-data nagios  11978 2006-06-21 15:27 check_snmp_win.pl
                          -rwxrwxr-x  1 www-data nagios  81807 2006-06-21 10:26 check_ssh
                          -rwxrwxr-x  1 www-data nagios  78136 2006-06-21 10:26 check_swap
                          -rwxrwxr-x  1 www-data nagios  89452 2006-06-21 10:26 check_tcp
                          -rwxrwxr-x  1 www-data nagios  85277 2006-06-21 10:26 check_time
                          -rwxrwxr-x  1 www-data nagios  83276 2006-06-21 10:26 check_udp
                          -rwxrwxr-x  1 www-data nagios  90240 2006-06-21 10:26 check_ups
                          -rwxrwxr-x  1 www-data nagios  75628 2006-06-21 10:26 check_users
                          -rwxrwxr-x  1 www-data nagios  76779 2006-06-21 10:26 check_vsz
                          -rwxrwxr-x  1 www-data nagios   3024 2006-06-21 10:26 check_wave
                          -rwxrwxr-x  1 www-data nagios  76610 2006-06-21 10:26 negate
                          -rwxrwxr-x  1 www-data nagios   1394 2006-06-28 11:53 oreon.conf
                          -rwxrwxr-x  1 www-data nagios   5817 2006-06-21 15:27 oreon.pm
                          -rwxrwxr-x  1 www-data nagios  74537 2006-06-21 10:26 urlize
                          -rwxrwxr-x  1 www-data nagios   2189 2006-06-21 10:26 utils.pm
                          -rwxrwxr-x  1 www-data nagios    732 2006-06-21 10:26 utils.sh
                          Centreon Entreprise Server 2
                          -------------

                          Comment


                          • #14
                            Ba ecoute ca semble tout bon !

                            Je comprend pas.

                            Il doit y avoir une petite connerie, genre un caractère espace qui traine
                            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

                            Working...
                            X