Hi there - sorry for the cryptic title 
I am building a template that ideally will monitor everything related to a particular application stack.
Among other things, I need to ensure that a particular docker container is running. So, to avoid reinventing the wheel, I linked the "Docker by zabbix agent 2" in my template, which provides such thing.
Now, my problem is: how can I create a trigger expression on my custom template, which reference the aforementioned linked docker template? I want to do it on my custom template so make it easily reusable on my hosts.
I tried:
... but I keep getting "Incorrect item key ..."
Any idea?

I am building a template that ideally will monitor everything related to a particular application stack.
Among other things, I need to ensure that a particular docker container is running. So, to avoid reinventing the wheel, I linked the "Docker by zabbix agent 2" in my template, which provides such thing.
Now, my problem is: how can I create a trigger expression on my custom template, which reference the aforementioned linked docker template? I want to do it on my custom template so make it easily reusable on my hosts.
I tried:
Code:
last(/my-template/docker.container_info.state.status["/infra-frontend"])<>"running"
Any idea?
Comment