Announcement

Collapse
No announcement yet.

Error Importing therest.tar

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

  • Error Importing therest.tar

    Hi, given i could configure a test system with nagios+oreon, I proceeded to install on our production server, but i'm getting this error:

    --------------------------------------------------------
    DB Error : DB Error: syntax error

    Fatal error: Call to undefined function: fetchrow() in /usr/local/oreon/www/include/configuration/configObject/service/DB-Func.php on line 64
    --------------------------------------------------------

    Any idea?

  • #2
    It seems the problem is with this kind of entry (not sure yet), maybe oreon can't handle "\"?

    define service{
    use filesystems
    host_name asusis-dwhd,asusis-dwhp,asusis-dc,asusis-af
    service_description Unidad d:\
    check_command check_nrpe_args!check_disk!d!8%!5%!\/p
    event_handler ins2tt
    event_handler_enabled 1
    }

    Comment


    • #3
      hi

      for further testing, I would advise importing your production configuration onto the test server first.

      Comment


      • #4
        Originally posted by xspoon View Post
        hi

        for further testing, I would advise importing your production configuration onto the test server first.
        Ok, i'm working on the test system again, but the problem remains, i can't import all my services definitions, i get the same error

        Comment


        • #5
          yes the backslash in the service_description is the problem.

          Comment


          • #6
            Originally posted by xspoon View Post
            yes the backslash in the service_description is the problem.
            Hi,
            How should i patch oreon to support the "\"?, nagios and perfparse can handle it, is this a known issue (hopefully fixed in cvs)?

            Comment

            Working...
            X