Hi,
I've found that I can apply a template containing a trigger without any defined dependencies to hosts, then add a dependency to said trigger once added to a host via the template but without actually modifying the template.
This is done by applying a template to a host, then going to Data collection > Hosts > click "Triggers" for said host > click the name of the trigger > Dependencies > Add > etc.
How can I then export this dependency to JSON/XML/YAML?
It's not shown in the export of the host, nor is it shown in the export of the template. - Am I missing something?
Running Zabbix 7.0.10.
The reason for asking is I'm building an import process from Xymon to Zabbix which effectively converts the Xymon config file, which contains all the hosts and which routers they depend on, to a Zabbix JSON/XML/YAML file and I need to keep the dependencies intact in some form or another during the import process without having to create templates for each individual dependency.
Cheers
I've found that I can apply a template containing a trigger without any defined dependencies to hosts, then add a dependency to said trigger once added to a host via the template but without actually modifying the template.
This is done by applying a template to a host, then going to Data collection > Hosts > click "Triggers" for said host > click the name of the trigger > Dependencies > Add > etc.
How can I then export this dependency to JSON/XML/YAML?
It's not shown in the export of the host, nor is it shown in the export of the template. - Am I missing something?
Running Zabbix 7.0.10.
The reason for asking is I'm building an import process from Xymon to Zabbix which effectively converts the Xymon config file, which contains all the hosts and which routers they depend on, to a Zabbix JSON/XML/YAML file and I need to keep the dependencies intact in some form or another during the import process without having to create templates for each individual dependency.
Cheers
Comment