Ad Widget

Collapse

when is my flaky server completely down

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • londonstan
    Junior Member
    • Sep 2008
    • 3

    #1

    when is my flaky server completely down

    Hi,

    I am trying to determine when my website is completely down. It gives non 200 error codes frequently which I plan to look in to but in the mean time I need something more definite. I am trying to define a expression that will alert me when the server has responded with a non 200 response constantly for more than a couple of minutes. I have tried to get my head around the syntax for persistent negative values but have failed. Can anyone give me an example on how to create a trigger expression for this?


    Many Thanks,

    LondonStan
  • bbrendon
    Senior Member
    • Sep 2005
    • 870

    #2
    I would use the web monitor and create a custom trigger using the web monitor items.
    Unofficial Zabbix Expert
    Blog, Corporate Site

    Comment

    • londonstan
      Junior Member
      • Sep 2008
      • 3

      #3
      sorry, i am a bit of a noobie on this

      i am not sure what you mean by web monitoring i am using the 'web.' in the syntax. i cant see any thing called 'web monitor items' in zabbix though or custom triggers

      this is the syntax i am using but it does not seem to be less sensitive than before

      {website-clust:web.test.rspcode[website,website home].count(600,10,"gt")}#200

      when i was using

      {website-clust:web.test.rspcode[website,website home].last(0)}#200

      Comment

      • londonstan
        Junior Member
        • Sep 2008
        • 3

        #4
        {website-clust:web.test.time[website,website home,resp].last(0)}>15

        this worked for me in the end

        Comment

        • bbrendon
          Senior Member
          • Sep 2005
          • 870

          #5
          You're becoming an expert

          Glad you put in the effort and figured it out.

          Another idea, though I probably wounldn't use this because it might trigger to often.

          Code:
          {Web Monitor:web.test.fail[cnn.com].last(0)}#0
          Unofficial Zabbix Expert
          Blog, Corporate Site

          Comment

          Working...