I need to configure a Zabbix check which will check access to a certain internet page.
The page can return http status 200 (ok)
or 500 (internal server error)
.
I want to get a Zabbix notification when ever a 500 status error
arises twice, is that possible?
Edit #1: @Tero Kilkanen: This is the error I get when I try to create the trigger:
Incorrect trigger expression. Check expression part starting from "{Mobit engine health check:web.test.rspcode[Check engine,engine health check].count(10,"500 (internal server error)","eq")".
Edit #2:
I've created the web scenario as follows:
And the single step:
I've created the next trigger:
And here's the
Lastest Data
from the Zabbix server:
But then I have two questions:
1. How can I check that the trigger works if it is not displayed in `Latest Data` in the Zabbix server?
2. How do I edit the trigger to reflect the needed configuration? which is to raise and alert when http status returns `500 Internal server error` twice?
Thanks!