NetXMS Support Forum

English Support => Feature Requests => Topic started by: sodalist on June 19, 2008, 09:35:08 AM

Title: Templates EXPORT/IMPORT, ...
Post by: sodalist on June 19, 2008, 09:35:08 AM
When someone configures template, now has no practical way
to share it with others. By enabling exporting DCI(s),
configured in template, rightclick on Template, export,
a comunity sharing templates could be established.

This could also be useful:
- when establishing multiple netxms servers
- hand edit of exported file (xml ?)

Import would be done by creating empty Templat and Importing
exported file to it.

thank you,

A
Title: Re: Templates EXPORT/IMPORT, ...
Post by: Victor Kirhenshtein on June 19, 2008, 10:33:44 AM
Currently it's possible via "management packs". In console, select Tools -> Create management pack, and add templates you wish to export. You will get .nxmp file with templates and related custom events if necessary. On other system, select Tools -> Import management pack and you will have all templates and events from it created.

Btw, if you have templates which may be useful for others, you can post them on the forum.

Best regards,
Victor
Title: Re: Templates EXPORT/IMPORT, ...
Post by: sodalist on November 10, 2008, 01:47:40 PM
Some problems noticed when using management pack function:

- "\" character in parameter names/description gets duplicated at import
- templates with "." or " " character in their names can not be imported
- "REPEAT_INTERVAL=-1;" parameter is not supported
- win32 console V0.2.22, when creating management pack you can not browse
  for File name destination. Full path with filename must be typed.

All issues are minor and can be avoided, adjusting template names prior
export or editing export file prior import.

Ales
Title: Re: Templates EXPORT/IMPORT, ...
Post by: Victor Kirhenshtein on November 10, 2008, 04:55:11 PM
Thanks for reporting, I'll fix it.

Best regards,
Victor