PDA

View Full Version : Compare values


gfalardi
28-09-2009, 10:57
Hi,

I would like to know how zabbix can compare values.

I wanna compare the value of an item with the last value of the same item.

{host:item.last(0)=host:item.last(0)} doesn't seem to work.

Calimero
28-09-2009, 11:46
I just tested that (meaningless) trigger:


{mys001:mysql.metrics[getvar,status,Threads_connected].last(0)}>{mys001:mysql.metrics[getvar,status,Threads_running].last(0)}


And it worked. Trigger syntax is a bit tricky ...