Ad Widget

Collapse

False positives on web scenario checks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kf4zmt
    Junior Member
    • Aug 2023
    • 2

    #1

    False positives on web scenario checks

    I am using web scenarios to monitor a website. It's working fine, but I get too many false positives. I need a way for the trigger to delay alerts until it has failed more than one check. My current trigger is:

    last(/Zabbix server/web.test.fail[mywebsite.com])<>0

    I have found older forum posts discussing this very issue, but the ones I could find were for older versions of Zabbix and my Zabbix version (6.0.20) doesn't seem to like any of the older solutions. I'm kinda new to Zabbix and I'm at a loss. I have found nothing in the documentation that seems to fit this situation. Any ideas?
    Last edited by kf4zmt; 11-08-2023, 15:22.
  • kf4zmt
    Junior Member
    • Aug 2023
    • 2

    #2
    Can't be done? No one knows how?

    Comment

    • markfree
      Senior Member
      • Apr 2019
      • 868

      #3
      Check out the Web Monitoring Items

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        Instead of last use some other method... for example min()

        your expression might look like this... min(/Zabbix server/web.test.fail[mywebsite.com]​,#3)>0 lowest value during last 3 checks is more than 0, which should mean, that at least 3 consecutive checks failed

        Its all there in docs.. https://www.zabbix.com/documentation...ions/aggregate

        Comment

        • LenR
          Senior Member
          • Sep 2009
          • 1005

          #5
          Something like min(/Zabbix server/web.test.fail[mywebsite.com],#2)>0

          Comment

          Working...