Hello,
We have Zabbix 3.4.1 and want to monitor a log file on a windows server 2008 R2 SP1.
The trigger we have works and give the status PROBLEM. But i expect that when the value ERROR is not within the value of 300 the trigger give the status RESOLVED. Why doesn't it?
Is the trigger reading de log only one time? And not constantly checking the last 300 values?
Or is the trigger only reading de log when something is written in the log file? --> Edit: when there is something written in de log, the status will not change to RESOLVED
Item:
Type = Zabbix agent (active)
Key = log[path\to\log\file.log,ERROR]
Type of information = log
Trigger:
{server:log[path\to\log\file.log,ERROR].count(#300,ERROR)}>0
We have Zabbix 3.4.1 and want to monitor a log file on a windows server 2008 R2 SP1.
The trigger we have works and give the status PROBLEM. But i expect that when the value ERROR is not within the value of 300 the trigger give the status RESOLVED. Why doesn't it?
Is the trigger reading de log only one time? And not constantly checking the last 300 values?
Or is the trigger only reading de log when something is written in the log file? --> Edit: when there is something written in de log, the status will not change to RESOLVED
Item:
Type = Zabbix agent (active)
Key = log[path\to\log\file.log,ERROR]
Type of information = log
Trigger:
{server:log[path\to\log\file.log,ERROR].count(#300,ERROR)}>0