-
Incident report
-
Resolution: Fixed
-
Trivial
-
1.8.20rc1, 2.0.11rc1, 2.2.2rc1
-
GNU/Linux
Create a one-line test log
$ cat /home/zabbix20/test_logs/test.log
error1
Create a new log[] item with invalid pattern "error.*\":
log[/home/zabbix20//test_logs/test.log,error.*\,,]
Agentd does not report anything to server as if there was no matching records in the log file. No errors about invalid regexp are logged.
Correct the invalid pattern to
log[/home/zabbix20//test_logs/test.log,error.*,,]
Now the record matches and is reported to server.
- duplicates
-
ZBXNEXT-2430 Option to define log monitoring on agent level
- Closed
- is duplicated by
-
ZBX-8410 Invalid regular expression in eventlog[] is treated as a failed match instead of making item 'not supported'
- Closed