Hi
Im trying to trigger if the previous item value is not the same as "current/last" item value, but trigger only fires if there is a item value in history aka if a previous item value exists.
In my world a item value that does not exists should not be equal to one that does, is what im trying to do just not possible in zabbix?
# My Trigger
count(/Zabbix server/log[/var/log/my.log],#1,"regexp","ERROR")>0 and last(/Zabbix server/log[/var/log/my.log],#1)<>last(/Zabbix server/log[/var/log/my.log],#2)
// Torben
Im trying to trigger if the previous item value is not the same as "current/last" item value, but trigger only fires if there is a item value in history aka if a previous item value exists.
In my world a item value that does not exists should not be equal to one that does, is what im trying to do just not possible in zabbix?
# My Trigger
count(/Zabbix server/log[/var/log/my.log],#1,"regexp","ERROR")>0 and last(/Zabbix server/log[/var/log/my.log],#1)<>last(/Zabbix server/log[/var/log/my.log],#2)
// Torben
Comment