Ad Widget

Collapse

Web scenario trigger to handle N consecutive fails?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Victor Sudakov
    Junior Member
    • Apr 2020
    • 17

    #1

    Web scenario trigger to handle N consecutive fails?

    Dear Colleagues,

    I'm currently using a trigger from the documentation, namely: http://www.zabbix.com/documentation/...nitoring/items

    Code:
    {zabbix-server:web.test.error[site1].strlen()}>0 and {zabbix-server:web.test.fail[site1].last()}>0
    It works quite well but I'd like to improve it so that an alarm is triggered after 3 consecutive web test fails. Could you please suggest a modification to the expression above?

  • Victor Sudakov
    Junior Member
    • Apr 2020
    • 17

    #2
    The smartest variant I've found so far is
    Code:
    {zabbix-server:web.test.fail[site1].min(#3)}>0
    but this probably would require a separate recovery expression?

    To cut a long story short, please someone share the trigger you use in production, with a good balance of fail detection, recovery detection and protection from false positives. TIA!

    Comment

    Working...