[ZBXNEXT-9273] Add ability to read file by a name regexp for vfs.file.contents, vfs.file.regmatch, vfs.file.regexp Created: 2024 Jun 25 Updated: 2024 Jun 25 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | None |
Affects Version/s: | 6.0.31, 7.0.0, 7.2.0alpha1 |
Fix Version/s: | None |
Type: | Change Request | Priority: | Major |
Reporter: | Edgar Akhmetshin | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Please add ability to read content of the file by a filename pattern, like this is done for logrt.* items. Currently there is no way to read state file which can be changed every N hours - content and name. Already available functionality to find the most recent file is required, like it is done in logrt.* items, but logrt item cannot be used, since it's reading file line by line, and the whole file is required to parse it further. |