PDA

View Full Version : Error Importing therest.tar


cyruspy
12th March 2007, 08:56
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?

cyruspy
12th March 2007, 10:51
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
}

xspoon
12th March 2007, 12:15
hi

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

cyruspy
13th March 2007, 06:52
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

xspoon
13th March 2007, 15:06
yes the backslash in the service_description is the problem.

cyruspy
14th March 2007, 21:05
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)?