I am setting up a Template to handle HTML error codes on our intranet site. I originally set up the trigger on the hostname being monitored so I could see how this trigger was set up.
Essentially it gave me this:
I tried using macros in the Template to make the template universal.
This failed.
The scenario step is just looking for response code 200 at the current moment. I wanted to get a bit more specific with my triggers to help know what the problem is before we just start looking at everything.
What can I change to make this work?
Zabbix 3.4
Ubuntu 16.04
Essentially it gave me this:
Code:
{Portal:web.test.rspcode[Portal,Home].last()}=400
Code:
{Template App HTML Errors:web.test.rspcode[{Host.Name},{Item.Description}].last()}=400
Error Message:
Incorrect item key "web.test.rspcode[{Host.Name},{Item.Description}]" provided for trigger expression on "Template App HTML Errors".
Incorrect item key "web.test.rspcode[{Host.Name},{Item.Description}]" provided for trigger expression on "Template App HTML Errors".
What can I change to make this work?
Zabbix 3.4
Ubuntu 16.04
Comment