I have a bunch of templates that all depend on a ping check trigger. I upgraded from 4.5.4 to 6.0.0, and it did whatever magic it needed, the templates are all there, the hosts' implementation of them all seem to work.
I am trying to standardize installs between clients, and so I am exporting a template from system A, and importing into system B, both 6.0.0 versions with matching everything (well, as best I can tell).
So I export a template T from system A as XML, then import into system B, and it failes, claiming the error as below.
This error is generated even if I export from system A, make a trivial change in system A's live copy with the UI, then import the XML -- the exact XML just exported. So there is something it is happy with internally but not on import.
This template I'm calling T depends on another I'll call P. I have verified that all hosts that use T also have template P, so as it merges in there should be no problem finding the right trigger. Note these are prototype triggers in T depending on a non-prototype trigger in P (I have no idea if that matters).
I can export P, make a trivial GUI change, and import P and it works. P has no dependences to other templates.
This worked fine in version 4; I realize that was a long time ago. But I can find no change documented that should break it.
Am I missing something?
I'm attaching a copy of the templates if anyone wants to actually try them. These are as exported from a working system.
Any idea what I'm doing incorrectly?
I am trying to standardize installs between clients, and so I am exporting a template from system A, and importing into system B, both 6.0.0 versions with matching everything (well, as best I can tell).
So I export a template T from system A as XML, then import into system B, and it failes, claiming the error as below.
This error is generated even if I export from system A, make a trivial change in system A's live copy with the UI, then import the XML -- the exact XML just exported. So there is something it is happy with internally but not on import.
This template I'm calling T depends on another I'll call P. I have verified that all hosts that use T also have template P, so as it merges in there should be no problem finding the right trigger. Note these are prototype triggers in T depending on a non-prototype trigger in P (I have no idea if that matters).
I can export P, make a trivial GUI change, and import P and it works. P has no dependences to other templates.
This worked fine in version 4; I realize that was a long time ago. But I can find no change documented that should break it.
Am I missing something?
I'm attaching a copy of the templates if anyone wants to actually try them. These are as exported from a working system.
Any idea what I'm doing incorrectly?
Trigger prototype "DNS via {#DNS_PROTOCOL} to {#DNS_HOST} too slow ({ITEM.LASTVALUE1})" depends on trigger "Unavailable by Ping Check", which does not exist. [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerPopupImport->doAction() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CConfigurationImport->processTriggerPrototypeDependencies() in include/classes/import/CConfigurationImport.php:1492]
Comment