I have a lot of templates. Some of them are created from scratch and some are created using full cloning feature.
Today I discovered, that I cannot save many of them.
When going into Configuration > Templates > choose one > Triggers > edit the trigger and hit Save button, it gives me this error:
Not all Templates are linked to host [ ant01.mydomain.com ]
I suspected that there was some mixup with this host and deleted it and retried again, but then there was error about ant02... so I guess, it is complaining about that host just because it is alfabetically the first one.
I haven't changed my templates recently so it has to be control mechanism created in some new Zabbix version, that is kicking in now.
I looked up from the triggers.inc.php file and there is this function
I have a template that includes checks that host is up and zabbix agent is running. And inside this template, agent trigger A is depending on the host trigger B.
All the other triggers on the other templates are depending on either trigger A (agent related checks: cpu, disk etc.) or trigger B (agentless checks: ports, web).
So what does this "high level template" mean? I thought all templates were on the same level.
It seems to me that dependencies between templates are forbidden now. Go figure it out.
Today I discovered, that I cannot save many of them.
When going into Configuration > Templates > choose one > Triggers > edit the trigger and hit Save button, it gives me this error:
Not all Templates are linked to host [ ant01.mydomain.com ]
I suspected that there was some mixup with this host and deleted it and retried again, but then there was error about ant02... so I guess, it is complaining about that host just because it is alfabetically the first one.
I haven't changed my templates recently so it has to be control mechanism created in some new Zabbix version, that is kicking in now.
I looked up from the triggers.inc.php file and there is this function
Code:
// Deny adding dependency between templates ifthey are not high level templates function validate_trigger_dependency($expression, $deps)
All the other triggers on the other templates are depending on either trigger A (agent related checks: cpu, disk etc.) or trigger B (agentless checks: ports, web).
So what does this "high level template" mean? I thought all templates were on the same level.
It seems to me that dependencies between templates are forbidden now. Go figure it out.



Comment