case:
template with:
- discovery rule
- discovery item
- discovery graph
Export template and then import:
The discovery graphs are imported as templates graphs
This fix seems to do the job
on the paragraph:
foreach ($item['graph_prototypes'] as $graph)
{ --- include/classes/import/CConfigurationImport.php.orig 2012-07-29 14:01:01.132325000 +0200 +++ include/classes/import/CConfigurationImport.php 2012-07-29 13:41:38.001055000 +0200 @@ -819,6 +819,7 @@ $graphsToUpdate[] = $graph; }else
{ + $graph['flags'] = ZBX_FLAG_DISCOVERY_CHILD; $graphsToCreate[] = $graph; }- duplicates
-
ZBX-5349 Zabbix does not import Graph prototypes
- Closed