[ZBXNEXT-35] Allow Trigger functions to take Items as arguments Created: 2009 Jul 16  Updated: 2021 May 21  Resolved: 2021 May 21

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

Type: New Feature Request Priority: Major
Reporter: John Cesario Assignee: Unassigned
Resolution: Fixed Votes: 3
Labels: triggerfunctions, triggers
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

zabbix GUI



 Description   

Allow triggers to be created that use items as arguments to functions. For example:

{Template_MySQL50_Repl:mysql50.repl[Master_Log_File].str({Template_MySQL50_Repl:mysql50.repl[Relay_Master_Log_File].last(0)})}=0



 Comments   
Comment by Alexei Vladishev [ 2012 Oct 10 ]

It would be possible if we move from object oriented syntax to a more functional one:

object.func(...) v.s. func(object,...)

It's a major change in syntax of triggers, but I think it will make triggers even more flexible.

Comment by Alexei Vladishev [ 2021 May 21 ]

It is implemented in Zabbix 5.4.

Generated at Fri Apr 19 07:00:47 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.