Hello all,
I'm trying to use Zabbix' new (documentation tells since v1.6.2) trigger function .last(#num) which doesn't work for me.
The triggers are defined as follows for example:
({ServerHost:net.tcp.port[{IPADDRESS},1433].last(#1)}=0) & ({ServerHost:net.tcp.port[{IPADDRESS},1433].last(#2)}=0) & ({ServerHost:net.tcp.port[{IPADDRESS},1433].last(#3)}=0)
So this trigger should fire only if the last 3 checks were zero (0). But in reality the trigger fires when only one value changes to 0.
Here the values:
2009.Feb.03 15:05:13 Up (1)
2009.Feb.03 15:04:43 Up (1)
2009.Feb.03 15:04:13 Up (1)
2009.Feb.03 15:03:43 Up (1)
2009.Feb.03 15:03:14 Up (1)
2009.Feb.03 15:02:45 Up (1)
2009.Feb.03 15:02:13 Up (1)
2009.Feb.03 15:01:43 Down (0) <-- Trigger fires!
2009.Feb.03 15:01:13 Up (1)
2009.Feb.03 15:00:43 Up (1)
2009.Feb.03 15:00:14 Up (1)
Anything I've understood/done wrong? Of course we are on v1.6.2...
Thanks
I'm trying to use Zabbix' new (documentation tells since v1.6.2) trigger function .last(#num) which doesn't work for me.
The triggers are defined as follows for example:
({ServerHost:net.tcp.port[{IPADDRESS},1433].last(#1)}=0) & ({ServerHost:net.tcp.port[{IPADDRESS},1433].last(#2)}=0) & ({ServerHost:net.tcp.port[{IPADDRESS},1433].last(#3)}=0)
So this trigger should fire only if the last 3 checks were zero (0). But in reality the trigger fires when only one value changes to 0.
Here the values:
2009.Feb.03 15:05:13 Up (1)
2009.Feb.03 15:04:43 Up (1)
2009.Feb.03 15:04:13 Up (1)
2009.Feb.03 15:03:43 Up (1)
2009.Feb.03 15:03:14 Up (1)
2009.Feb.03 15:02:45 Up (1)
2009.Feb.03 15:02:13 Up (1)
2009.Feb.03 15:01:43 Down (0) <-- Trigger fires!
2009.Feb.03 15:01:13 Up (1)
2009.Feb.03 15:00:43 Up (1)
2009.Feb.03 15:00:14 Up (1)
Anything I've understood/done wrong? Of course we are on v1.6.2...
Thanks
) that's why I didn't now of the improved last() function.
Comment