If the number of "Discovery" or "Screens" in the template is 0, Zabbix failed to export the template.
The error message is follows.
No "Discovery" in the template:
No "Screens" in the template:
Is this a bug?
The error message is follows.
No "Discovery" in the template:
Code:
[Mon Mar 19 10:31:52 2012] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Argument 1 passed to CConfigurationExportBuilder::formatDiscoveryRules() must not be null, called in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php on line 70 and defined in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php on line 232, referer: http://xxx.xxx.xxx.xxx/zabbix/templates.php?sid=9ed7a4a64e923661
Code:
[Mon Mar 19 10:47:25 2012] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Argument 1 passed to CConfigurationExportBuilder::formatScreens() must not be null, called in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php on line 73 and defined in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php on line 511, referer: http://xxx.xxx.xxx.xxx/zabbix/templates.php?templateid=10082&sid=9ed7a4a64e923661
Comment