Using add_items_from_csv to *update* config

Support requests, bug reports, questions etc.
zuzzy
NConf rookie
NConf rookie
Posts:16
Joined:Tue Jun 12, 2012 12:14
Using add_items_from_csv to *update* config

Post by zuzzy » Mon Sep 03, 2012 10:01

The add_items scripts add new config to the database, but you can't it seems use it to update config in bulk as it complains that the hosts already exist

Has anyone come up with a way to do this, without deleting every device from the GUI and readding them via the perl script import?

Thanks

--Chris

zuzzy
NConf rookie
NConf rookie
Posts:16
Joined:Tue Jun 12, 2012 12:14

Re: Using add_items_from_csv to *update* config

Post by zuzzy » Sat Dec 29, 2012 21:03

bump...this is still annoying me and I can't work out how to do it!

User avatar
fgander
NConf developer
NConf developer
Posts:308
Joined:Mon Mar 16, 2009 14:23
Location:Bern, Switzerland
Contact:

Re: Using add_items_from_csv to *update* config

Post by fgander » Fri Feb 08, 2013 00:31

I don't think this is possible, because the import was done for bringing the information once into NConf and then manage it in NConf.

I am not the dev. of this part of the Tool so I can't really help you further here.

Sorry
F.G. - NConf developer
http://www.nconf.org
Image
Follow NConf on Twitter!

User avatar
agargiulo
NConf developer
NConf developer
Posts:725
Joined:Fri Mar 06, 2009 17:50
Location:Zurich, Switzerland
Contact:

Re: Using add_items_from_csv to *update* config

Post by agargiulo » Thu Feb 14, 2013 19:12

Hi. Bulk-updating the config in the database is not yet possible. The Perl-API needs to be extended for this. I can't tell you when or if this will be done.

Sorry

Locked