Page 1 of 1

Configuration import

Posted: Tue Sep 16, 2014 8:35 am
by morabanc
Hi !!

We noticed a problem in our nagiosql version 3.2.0.

We try to import a new hostescalation.cfg file in "Tools" -> "Data Import". We would like to "Overwrite database" so we tick the this option, but when I push the "Import" button I get this error:

Duplicate entry 'Host_Esc-1' for key 'config_name'
Entry config_name -> Host_Esc inside tbl_hostescalation could not be inserted: Duplicate entry 'Host_Esc-1' for key 'config_name'


I don't know why is trying to "insert" the hostescalation and not "update" because I check the "overwrite" option.

Can you help me ?

Thanks in advance

Re: Configuration import

Posted: Tue Sep 16, 2014 10:36 am
by sreinhardt
I generally don't like to do this, but I would honestly suggest making a post at the nagiosql forums. QL is a product we are more than happy to help with, but we do not write or maintain. This sounds like bug with the version you have installed. Is it 3.2.0 base, 3.2.0 sp1, or 3.2.0 sp2?

Re: Configuration import

Posted: Wed Sep 17, 2014 4:23 am
by morabanc
Thanks sreinhardt,

It's a base 3.2.0 system, but this week we replaced some sp2 files.

Re: Configuration import

Posted: Wed Sep 17, 2014 2:25 pm
by tmcdonald
What files specifically did you replace? Doing a partial manual upgrade might have some unpredictable side-effects.

Re: Configuration import

Posted: Wed Sep 24, 2014 2:09 am
by morabanc
Hi tmcdonald,

Sorry for the late.
I think it's a bug. I'll find more information about it.


Thanks

Re: Configuration import

Posted: Wed Sep 24, 2014 9:40 am
by lmiltchev
I think it's a bug. I'll find more information about it.
No problem. Keep us posted.