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
no automatic changes while importing
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
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
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
Who is online
Users browsing this forum: No registered users and 2 guests