-
Problem report
-
Resolution: Fixed
-
Trivial
-
3.0.24, 4.0.2, 4.2.0alpha2
-
None
-
Unix, MS Windows
-
Sprint 47, Dec 2018
-
0.125
Steps to reproduce:
- Create logrt[] item, e.g. logrt[/home/zabbix/test.log]
- Append test record, e,g. echo ABC >> /home/zabbix/test.log
- Observe that test record is reported to server.
- Append a new test record to a new file, e.g. echo 123 >> /home/zabbix/test.log1
- Observe that test record is reported to server.
- Delete the new log file /home/zabbix/test.log1.
- In agent log file a warning is logged "there are no files matching "test.log" in "/home/zabbix/".
This is confusing for user because there is a log file test.log, which matches the regexp, it is just skipped as already processed.
Proposed solution: modify warning message to look like
there are no recently modified files matching "test.log" in "/home/zabbix/"