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
Configuration import
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Configuration import
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?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Configuration import
Thanks sreinhardt,
It's a base 3.2.0 system, but this week we replaced some sp2 files.
It's a base 3.2.0 system, but this week we replaced some sp2 files.
Re: Configuration import
What files specifically did you replace? Doing a partial manual upgrade might have some unpredictable side-effects.
Former Nagios employee
Re: Configuration import
Hi tmcdonald,
Sorry for the late.
I think it's a bug. I'll find more information about it.
Thanks
Sorry for the late.
I think it's a bug. I'll find more information about it.
Thanks
Re: Configuration import
No problem. Keep us posted.I think it's a bug. I'll find more information about it.
Be sure to check out our Knowledgebase for helpful articles and solutions!