Announcement

Collapse
No announcement yet.

1.3 RC2 Available

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

  • 1.3 RC2 Available

    1.3 RC2 Available on our web site in Download section...

    We are waiting your bugs and request.

    Thanks in advance
    Julien Mathis
    Centreon Project Leader
    www.merethis.com |

  • #2
    Migration Nagios 1.3 to 2.4

    I am in the process of migrating my NAGIOS 1.3 installation to 2.4. I am playing around a bit with getting Nagios to run together with Oreon. Does not seem so easy... hock: but i am not finished to setup Nagios 2.4 properly. My main concern right now and in the past 2 weeks is to import the data into Oreon and see what happens.

    Importing the new Oreon SQL via the Websetup is not possible. I get a row of error messages like table already exists... so i deleted everything Oreon again and started fresh.

    Now i imported all Nagios 1.3 templates and *.cfg data again and have most of it as before in Oreon :P except the contacts.cfg.

    They import fine according to the import status but are nowhere to be seen !?

    Also generating and moving the *.cfg data has no effect in the /nagios/etc directory. It remains empty.

    Comment


    • #3
      experience with RC2-(1 and 2)

      This morning i installed Oreon from scratch again... deleting DB, directories etc.

      While importing hostextinfo.cfg i get this error:
      Warning: Invalid argument supplied for foreach() in /usr/local/oreon/www/include/configuration/configLoad/DB-Func.php on line 583. This happend with previous versions too. In the status message it says imported 400+ entries.

      With release # RC2-2 i still can not import contacts.cfg, also contactgroups.cfg are ok. When i want to generate, move the *.cfg files it says OK in the status message but nothing to see in the /nagios/etc directory.

      I keep on trying

      Comment


      • #4
        Can I see your contact definition ?
        Romain Le Merlus
        Centreon Forge
        MERETHIS

        Comment


        • #5
          My contact definitions

          This one i tried to import from the previous Oreon 1.3RC1 contact.cfg

          define contact{
          contact_name xxxxxxx
          alias Xxxx Xxxxxx
          contactgroups DC, Exchange, FileCluster, Fileserver, SAP, Test
          host_notification_period 24x7
          service_notification_period 24x7
          host_notification_options d,u,r
          service_notification_options w,u,c,r
          host_notification_commands host-notify-by-email, host-notify-to-sms
          service_notification_commands service-notify-by-email, service-notify-to-sms
          email [email protected]
          pager [email protected]
          }


          and this one i took from the Nagios 1.3 contacts.cfg

          define contact {
          use generic-contact
          contact_name xxxxxxx
          alias Xxxxx Xxxxxxx
          email [email protected]
          pager [email protected]
          service_notification_period 24x7
          host_notification_period 24x7
          service_notification_options w,u,c,r
          host_notification_options d,u,r
          service_notification_commands service-notify-by-email,service-notify-to-sms
          host_notification_commands host-notify-by-email,host-notify-to-sms
          }


          With both i get the same status message:

          Manual Filling File loading OK
          Data recovery OK
          Command :0 recorded entrie(s)
          Time Period :0 recorded entrie(s)
          Contact :33 recorded entrie(s)
          Contact Group :0 recorded entrie(s)
          Host :0 recorded entrie(s)
          Host Extended Infos :0 recorded entrie(s)
          Host Group :0 recorded entrie(s)
          Host Dependency :0 recorded entrie(s)
          Service :0 recorded entrie(s)
          Service Dependency :0 recorded entrie(s)
          Service Group :0 recorded entrie(s)
          Service Group Dependency :0 recorded entrie(s)

          but only with Oreon 1.3RC1 did the import really work. With 1.3RC2-1/1.3RC2-2 it does not.

          Comment


          • #6
            Ok, I got it...

            Get from the svn the following file :

            oreon/www/include/configuration/contact/DB-Func.php

            It was the mySQL reserved word 'local' wich made the problem, it wasn't backquote for the ldap parameters insert (Thanks Wistof..)
            Romain Le Merlus
            Centreon Forge
            MERETHIS

            Comment


            • #7
              I think it's oreon/www/include/configuration/configObject/contact/DB-Func.php

              Comment


              • #8
                Different path...

                I tried to find the right DB_func.php but i have a different path and far to many DB_func.php in almost every directory hock:

                I am not a php programmer but if it's no big deal i can correct this myself, pls. tell me how to do it. Which path/file, line nummber and code... or will there be another solution ?

                ----

                Then the issue of the *.cfg files not being copied to the nagios/etc directory confuses me still. I tried all 3 different modes like, Dependencies Management
                Current Activation, None...

                This too worked well with Oreon 1.3RC1 but not with RC2-1, RC2-2 hock:

                regards from Zurich to Paris !

                Comment


                • #9
                  There it is....!

                  While i wrote there came the answer for the right path... Merci

                  but in this case i do not know how to edit php correctly... :? ...

                  Comment


                  • #10
                    No edition, overwrite the file just !
                    Romain Le Merlus
                    Centreon Forge
                    MERETHIS

                    Comment

                    Working...
                    X