PDA

View Full Version : when is my flaky server completely down


londonstan
10-10-2008, 17:22
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
11-10-2008, 22:33
I would use the web monitor and create a custom trigger using the web monitor items.

londonstan
13-10-2008, 12:33
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

londonstan
13-10-2008, 13:22
{website-clust:web.test.time[website,website home,resp].last(0)}>15

this worked for me in the end

bbrendon
14-10-2008, 22:33
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.

{Web Monitor:web.test.fail[cnn.com].last(0)}#0