Hi
I am trying out log file monitoring. The server is running Zabbix 3.0.23. This is the key to my (active agent) item...
log[/tmp/testlog2,error,,,skip]
Initially, testlog2 has just two lines.
line 1 - all good
line 2 - error
As expected I see line 2 in the item history.
If I now add a third line to the log file containing the string 'error' then both line 3 AND line 2 is returned for the item. My item history now looks like...
test_server: Test log2 monitoring
2018-11-28 14:28:11 1543415291 line 3 - error 2018-11-28 14:28:11 1543415291 line 2 - error 2018-11-28 14:24:11 1543415051 line 2 - error
I expected only line 3 to be added to history at 14:28. Am I wrong in thinking that? Zabbix agent on the monitored host is version 3.4.8
Thanks.
I am trying out log file monitoring. The server is running Zabbix 3.0.23. This is the key to my (active agent) item...
log[/tmp/testlog2,error,,,skip]
Initially, testlog2 has just two lines.
line 1 - all good
line 2 - error
As expected I see line 2 in the item history.
If I now add a third line to the log file containing the string 'error' then both line 3 AND line 2 is returned for the item. My item history now looks like...
test_server: Test log2 monitoring
2018-11-28 14:28:11 1543415291 line 3 - error 2018-11-28 14:28:11 1543415291 line 2 - error 2018-11-28 14:24:11 1543415051 line 2 - error
I expected only line 3 to be added to history at 14:28. Am I wrong in thinking that? Zabbix agent on the monitored host is version 3.4.8
Thanks.
Comment