[ZBXNEXT-3563] Allow the use of boolean data type in calculated items Created: 2016 Nov 21  Updated: 2019 Mar 30  Resolved: 2019 Mar 30

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F), Server (S)
Affects Version/s: 3.0.4
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: Raymond Kuiper Assignee: Zabbix Development Team
Resolution: Won't fix Votes: 0
Labels: calculateditems
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File screenshot-1.png     PNG File screenshot-2.png    
Issue Links:
Duplicate
is duplicated by ZBX-11508 Handling of boolean type not correct Closed

 Description   

The boolean datatype used in any item would allow you to store a zero value as a boolean 0 (False) while any non-zero value would equate to boolean 1 (True). However, this logic has been disabled in calculated items in Zabbix 3.0.4.

I would like to be able to use it to create some logic in group aggregate checks based on various lower level item values.



 Comments   
Comment by Aleksandrs Saveljevs [ 2016 Nov 22 ]

I have a feeling that this is the same problem as ZBX-11508 - calculated and aggregate items are similar to internal checks discussed there in that they are gathered from inside the server. Especially if you formulate it as "this logic has been disabled in calculated items in Zabbix 3.0.4", which sounds like it is a regression.

Comment by Raymond Kuiper [ 2016 Nov 22 ]

The difference however, is that in calculated items the possibility to select anything other than 'Decimal' for the Datatype has been greyed out (see screenshot-1). For internal items this is not the case (see screenshot-2).

Apparently, a different decision on GUI controls has been made here which led me to believe this is a separate issue which warrants it's own ZBXNEXT. However, if you feel the issues should be merged, be my guest

Comment by Aleksandrs Saveljevs [ 2016 Nov 22 ]

Ah, thanks for explaining.

Comment by Alexander Vladishev [ 2019 Mar 30 ]

Already implemented in version 3.4.1 with ZBXNEXT-3006.

Generated at Thu Apr 25 16:11:08 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.