Hello.
I have that trigger(first):
{host:web.page.regexp[host,,,HTTP/1.1 200 OK,15].str(HTTP/1.1 200 OK)}=0
It has severity=high.
But I need second trigger with severity=disaster, which will be ON when first trigger state=ON about N minutes.
E.g. when page cannot be load(for example - gateway timeout), zabbix will send message. But reason of it exception may be only backend-server restart. If gateway timeout is long(>1-2minutes) then next trigger take ON state, and zabbix send SMS.
Item(in first trigger) have char type, and I cannot use some functions(min,max) in second trigger. I may create user-defined function on many agents which will return integer(0,1) value of web server http-status, and then I can use max function with period of time and use it in second(disaster) trigger.
But I think - it wrong way.
Becouse I also need check a lot of web pages for errors with regexp.
Change many agents config manually - bad idea.
Maybe exists any way to do it?
Maybe exists any way to monitoring web page load problems? What method usually used?
I want simply check page load problems on my servers.
PS:
zabbix version: 1.1.6
Thanks.
I have that trigger(first):
{host:web.page.regexp[host,,,HTTP/1.1 200 OK,15].str(HTTP/1.1 200 OK)}=0
It has severity=high.
But I need second trigger with severity=disaster, which will be ON when first trigger state=ON about N minutes.
E.g. when page cannot be load(for example - gateway timeout), zabbix will send message. But reason of it exception may be only backend-server restart. If gateway timeout is long(>1-2minutes) then next trigger take ON state, and zabbix send SMS.
Item(in first trigger) have char type, and I cannot use some functions(min,max) in second trigger. I may create user-defined function on many agents which will return integer(0,1) value of web server http-status, and then I can use max function with period of time and use it in second(disaster) trigger.
But I think - it wrong way.
Becouse I also need check a lot of web pages for errors with regexp.
Change many agents config manually - bad idea.
Maybe exists any way to do it?
Maybe exists any way to monitoring web page load problems? What method usually used?
I want simply check page load problems on my servers.
PS:
zabbix version: 1.1.6
Thanks.