Hello, we have a certain trigger where we want the title in the alerts to contain a item value for the affected node. Is it possible to refer to the value of a item that node is monitoring in the trigger title? If so, how? Thanks.
Ad Widget
Collapse
Refer to a item value in a trigger title?
Collapse
X
-
Configure your Action:
and add right macro supported in notification ({ITEM.VALUE1}) into Default subject:
Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant -
Right I got that, that works well for getting the value of the item that triggered the trigger. However, is it possible for the trigger title to contain the value of another monitored item under the affected node even if that item wasn't the one who triggered the trigger? Thanks.Comment
-
I'm not 100% sure, but try:
{host:key.func(param)} e.g. {Zabbix server:agent.ping.last(0)}
Or you can use workaround:
create second (3rd, ...) condition with selected item, which will be (almost) always true e.g. ping<10000sec and then you can use again item macro in subject {ITEM.VALUE2},{ITEM.VALUE3}, ...Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / VagrantComment
Comment