Error while inserting data into the database

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
briannd81
Posts: 31
Joined: Sun May 03, 2015 5:41 pm

Error while inserting data into the database

Post by briannd81 »

While adding a new host (that has been previously removed) using CCM, I'm getting the following error:

Error while inserting data into the database:
Duplicate entry 'symdb1-1' for key 'config_name'

Please advise.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Error while inserting data into the database

Post by tmcdonald »

What XI version are you using?
Former Nagios employee
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Error while inserting data into the database

Post by jdalrymple »

Also - did you apply config between the time when you removed the host and tried to readd it? If so did the apply config succeed?
briannd81
Posts: 31
Joined: Sun May 03, 2015 5:41 pm

Re: Error while inserting data into the database

Post by briannd81 »

My mistake. The error was valid and caused by an existing host appended at the end of my 1000+ host list that I didn't see. :mrgreen:
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error while inserting data into the database

Post by lmiltchev »

Is it OK to close this topic and mark it as resolved?
Be sure to check out our Knowledgebase for helpful articles and solutions!
briannd81
Posts: 31
Joined: Sun May 03, 2015 5:41 pm

Re: Error while inserting data into the database

Post by briannd81 »

Please close this topic. Thank you.
Locked