[ZBX-8635] Selected function is different on trigger expression constructor popup Created: 2014 Aug 20  Updated: 2017 May 30  Resolved: 2016 Apr 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.5
Fix Version/s: 2.2.12rc1, 2.2.13rc1

Type: Incident report Priority: Trivial
Reporter: Kazuo Ito Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: triggers
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 1.png     PNG File popup.png     PNG File reopen-01.png     PNG File reopen-02.png     PNG File reopen-03.png    
Issue Links:
Duplicate

 Description   

1. Click on the trigger "Lack of available memory on server {HOST.NAME} " of "Template OS Linux".

2. Click Expression constructor.

3. Click "{Template OS Linux:vm.memory.size[available].last(0)}<20M".

4. Click the Edit.



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2014 Oct 22 ]

This has been fixed in 2.4.

CLOSED.

Comment by Kazuo Ito [ 2014 Oct 23 ]

There is a case that is to not fixed.
I will attach a screen capture.

reopen-01.png
reopen-02.png
reopen-03.png

Comment by Aleksandrs Saveljevs [ 2015 Jan 10 ]

The problem seems to be that the expression construction popup only allows to create expressions diff()=0 and diff()<>0, but not diff()<0 or diff()>0.

Comment by Ivo Kurzemnieks [ 2015 Mar 17 ]

(1) Found this on 2.2 https://support.zabbix.com/secure/attachment/33441/popup.png

    Undefined index: last[=][>] [ in C:\Development\zabbix-2.2\frontends\php\popup_trexpr.php:708]
    Function "" cannot be used with selected item "Template App Zabbix Agent: Version of zabbix_agent(d) running"

vitalijs.cemeris RESOLVED in r57132

oleg.egorov CLOSED

Comment by vitalijs.cemeris (Inactive) [ 2015 Dec 10 ]

(2) No translation strings changed.

oleg.egorov CLOSED

Comment by vitalijs.cemeris (Inactive) [ 2015 Dec 10 ]

There was a suggestion by sasha to not fix
selected function difference on trigger expression constructor popup.
As for now expression construction popup will not support diff()<0 or diff()>0

WON'T FIX in this issue.

Comment by Oleg Egorov (Inactive) [ 2016 Jan 29 ]

TESTED only undefined index issue

Comment by vitalijs.cemeris (Inactive) [ 2016 Jan 29 ]

Fixed in:

  • pre-2.2.12rc1 r58092
Comment by Kim Jongkwon [ 2016 Apr 21 ]
{Test:item.avg(3600)}>10M

is still not working. It is due to the "M" String.

Would you consider the use “unit conversion” cases? ( likes K, M, G, T… )

vitalijs.cemeris
(3) value suffixes are lost when edit (with expression constructor) previously created trigger expression.
RESOLVED in r59595

gunarspujats CLOSED

Comment by Gunars Pujats (Inactive) [ 2016 Apr 25 ]

(4) Problem still exists when macro is used in trigger expression.

vitalijs.cemeris Discussed with sasha
support of macro as trigger expression value in expression constructor WON'T FIX in this issue.

gunarspujats CLOSED

Comment by vitalijs.cemeris (Inactive) [ 2016 Apr 26 ]

(5) Expression constructor support of numeric value without suffixes is broken.
RESOLVED in r59707

gunarspujats CLOSED

Comment by vitalijs.cemeris (Inactive) [ 2016 Apr 26 ]

Fixed in pre-2.2.13rc1 r59712

Generated at Thu Apr 25 04:33:26 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.