[ZBXNEXT-1592] "vfs.file.contents" and "vfs.file.regexp" should return an empty value instead of EOF if monitored file is empty etc Created: 2013 Jan 23 Updated: 2013 Nov 21 Resolved: 2013 May 08 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G), Documentation (D), Server (S) |
Affects Version/s: | 2.0.4 |
Fix Version/s: | 2.1.0 |
Type: | Change Request | Priority: | Major |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | regexps | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
This is follow up from Some history: But starting from server 2.0 we are less restricted. Here is an opinion from several people (experienced, btw) that would be much logically to return an empty value "" instead of "EOF" in those specific cases. Backward compatibility? This can be addressed for major release only. |
Comments |
Comment by Oleksii Zagorskyi [ 2013 Jan 23 ] |
ohh, there are also: web.page.get[host,<path>,<port>] web.page.regexp[host,<path>,<port>,<regexp>,<length>] keys, which can return EOF in the specific cases. |
Comment by richlv [ 2013 Jan 24 ] |
we return "EOF" for empty files for vfs.file.contents. i'd say that is clearly a bug, not a feature request |
Comment by dimir [ 2013 Apr 02 ] |
Related issue: |
Comment by Andris Zeila [ 2013 May 07 ] |
The EOF return values were replaced with empty strings while fixing |
Comment by Oleksii Zagorskyi [ 2013 Nov 21 ] |
We forgot to document it -> got an issue |