[ZBX-15195] Calculated item fails when item key contains doublequote " Created: 2018 Nov 21 Updated: 2018 Dec 06 Resolved: 2018 Dec 06 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 4.0.1 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Minor |
Reporter: | Shane Arnold | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | calculateditems, escaping | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Steps to reproduce:
Result: Expected: Working Calculated Item: now("vfs.file.time[E:\FD.BAK,modify]")-last("vfs.file.time[E:\FD.BAK,modify]") Broken Calculated Item: now("vfs.file.time["E:\FD.BAK,modify"]")-last("vfs.file.time["E:\FD.BAK,modify"]") |
Comments |
Comment by richlv [ 2018 Nov 21 ] |
Please see "key" description and example 5 in https://www.zabbix.com/documentation/4.0/manual/config/items/itemtypes/calculated . This would have been a good topic on Zabbix IRC channel or other support options, see https://zabbix.org/wiki/Getting_help for more detail. |
Comment by Glebs Ivanovskis [ 2018 Nov 21 ] |
You may be interested in |
Comment by Shane Arnold [ 2018 Nov 22 ] |
Thank-you for the responses. I didn't even think to escape the problem characters. |