no automatic changes while importing

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
User avatar
Ancalagon
Posts: 15
Joined: Wed Mar 14, 2007 9:44 am
Location: Germany

no automatic changes while importing

Post by Ancalagon »

Hi @all,

Correct me when I'm wrong, but atm it would be possible to write a "xml-of-doom" which - when imported - will overwrite e.g. standard cdefs with chaotic formulars, leaving you with a broken cacti installation.

Wouldn't it be better to make a difference between "create" (templates/cdefs) and "overwrite/change/update"? Make a create generally allowed (like now), but every change of an existing object has to be manually acknowledged by the user.

I'm not a programmer, but this way would be handy: parse the xml, create a list of to-be-imported objects (with "update"-flag) and a check box for importing on each object. Unchecked items would be ignored.

Regards
/me
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

You are correct.
Please add a feature request at http://bugs.cacti.net to add an option "allow-override" or the like. This was already requested some time ago, so please check first if this request has already been made
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest