Hi there,
I'm trying to make a trigger basically reporting something like this:
if N > 1000 then check N+1(next N) > N
I've seen on support webpage that the functionality time_shift was done to compare different time-values, but i'm just collapsed into that sentence:
{host:mqueue_count[sacarino_br].last(0)}> {host:mqueue_count[sacarino_br].last(300)}/{host:mqueue_count[sacarino_br].last(300)}>1000
(mqueue_count is an item that works properly and return an integer).
Just this way, this code is supposed to:
1.- check the value of the item.
2.- after 300 seconds, check the 2nd value of the item
3.- if the first value is higher than 1000, and the second value is higher than frist value, the trigger will prompt on zabbix monitor.
Can you help me?
Thanks in advance
Eudald
I'm trying to make a trigger basically reporting something like this:
if N > 1000 then check N+1(next N) > N
I've seen on support webpage that the functionality time_shift was done to compare different time-values, but i'm just collapsed into that sentence:
{host:mqueue_count[sacarino_br].last(0)}> {host:mqueue_count[sacarino_br].last(300)}/{host:mqueue_count[sacarino_br].last(300)}>1000
(mqueue_count is an item that works properly and return an integer).
Just this way, this code is supposed to:
1.- check the value of the item.
2.- after 300 seconds, check the 2nd value of the item
3.- if the first value is higher than 1000, and the second value is higher than frist value, the trigger will prompt on zabbix monitor.
Can you help me?
Thanks in advance
Eudald

Comment