Hello,
I would like to get some assistance with web page content trigger
I read all of this forum, but didn't find any working solution
My web page content looks:
and I am creating web.page.regexp where I have to get error when one of those status <>UP
So, current trigger which I am testing from command line looks okay
but when I am starting create trigger I am always getting "Incorrect Item key"
I tried those triggers:
Any help would be really appreciated.
I would like to get some assistance with web page content trigger
I read all of this forum, but didn't find any working solution
My web page content looks:
Code:
{"status":"UP","details":{"db":{"status":"UP","details":{"database":"MySQL","hello":1}}}}
So, current trigger which I am testing from command line looks okay
Code:
zabbix_agentd -t 'web.page.regexp[my.server,/health,8080,\"status"\:\"(\w*)]' web.page.regexp[my.server,/health,8080,\"status"\:\"(\w*)] [s|"status":"UP]
I tried those triggers:
Code:
{my.server:web.page.regexp[my.server,/health,8080,\"status"\:\"(\w*)].str(UP)}=0
Code:
{my.server:web.page.regexp[my.server,"/health",8080,("status")(:)("UP")]}

Comment