[ZBXNEXT-4520] New boolean mapping for Redis usecase Created: 2018 Apr 24 Updated: 2024 Apr 10 Resolved: 2018 May 15 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Server (S) |
Affects Version/s: | None |
Fix Version/s: | 4.0.0alpha7, 4.0 (plan) |
Type: | New Feature Request | Priority: | Trivial |
Reporter: | Dmitrijs Lamberts | Assignee: | Viktors Tjarve |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||
Team: | Team A | ||||||||
Team: | Team A | ||||||||
Sprint: | Sprint 32, Sprint 33, Sprint 34 | ||||||||
Story Points: | 0.125 |
Description |
Current boolean mappings: if (SUCCEED == (res = str_in_list("true,t,yes,y,on,up,running,enabled,available", tmp, ','))) *value = 1; else if (SUCCEED == (res = str_in_list("false,f,no,n,off,down,unused,disabled,unavailable", tmp, ','))) *value = 0; Additional mapping for Redis rdb_last_bgsave_status ok - 0 err - 1 P.S. Thinking about the future we could consider to allow users specify their own mappings for boolean in preprocessing tab. |
Comments |
Comment by richlv [ 2018 Apr 24 ] |
customising boolean mappings is |
Comment by Viktors Tjarve [ 2018 May 03 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-4520 Added: ok,master - 1 err,slave - 0 |
Comment by Viktors Tjarve [ 2018 May 03 ] |
(1) [D] Update "Boolean to decimal" value list in Creating an item. natalja.cernohajeva: updated in Zabbix 4.0 documentation. RESOLVED <viktors.tjarve> Looks good, thanks. CLOSED
REOPENED natalja.cernohajeva : Both mentioned issues resolved. RESOLVED sasha CLOSED |