[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:
Duplicate
is duplicated by ZBXNEXT-2039 Add master/slave => 1/0 mapping to Bo... Closed
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 ZBXNEXT-3562

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

sasha

  1. "Supported since" version is not mentioned
  2. What's new in Zabbix 4.0.0 also should be updated

REOPENED

natalja.cernohajeva : Both mentioned issues resolved.

  1. Creating an item;
  2. What's new 4.0.

RESOLVED

sasha CLOSED

Generated at Fri Apr 19 17:59:29 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.