I use Zabbix 3.4 and I am trying to configure Zabbix to send an alarm only after 4 attemps. This alarm checks if the HTTP server returns 200 code. I have tried to set up a Web Scenario, but in the Zabbix Docs they say this:
The number of attempts for executing web scenario steps. In case of network problems (timeout, no connectivity, etc) Zabbix can repeat executing a step several times. The figure set will equally affect each step of the scenario. Up to 10 attempts can be specified, default value is 1. Note: Zabbix will not repeat a step because of a wrong response code or the mismatch of a required string. This parameter is supported starting with Zabbix 2.2.