Ad Widget

Collapse

help with defining trigger for web scenario

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tonnynathan
    Junior Member
    • Nov 2011
    • 5

    #1

    help with defining trigger for web scenario

    Hi

    This might be a stupid question, but i can wrap my brain around it.

    Im doing monitoring of a website, and i do a trigger that will alert me is response code is NOT 200. But i get tons of response codes saying 0. Everytime i get an alert. So instead i want to created a trigger that.

    Send alert i more than 5 values is NOT 200 within the last 300 seconds. I just cant seem to figure out how to make that definition.

    Any help much apreciated.
  • Davidus
    Senior Member
    • Dec 2010
    • 281

    #2
    my trigger looks like this,
    Code:
    {Serv:web.test.fail[Scenario1].min(#15,0)}#0
    according to this, if response code is not 200 during 15 minutes trigger fires up
    hope it helps
    if not, take a look at manual
    http://www.zabbix.com/documentation/...web_monitoring

    Comment

    • tonnynathan
      Junior Member
      • Nov 2011
      • 5

      #3
      {Serv:web.test.fail[Scenario1].min(#15,0)}#0 does that mean that responsecode value does NOT return value 200 in the intire periode of 15 minuttes ? What if just 1 value returns 200 during the 15. minuttes ?

      Comment

      • Davidus
        Senior Member
        • Dec 2010
        • 281

        #4
        Originally posted by tonnynathan
        What if just 1 value returns 200 during the 15. minuttes ?
        trigger is going to fire up ONLY IF responce code is not equal to 200 for 15minutes straight
        in other words trigger if we receive 200 as response code during 15minutes nothing is going to happened
        makes a sense?

        Comment

        Working...