[ZBXNEXT-5014] Get rid of unusable item key text in functions that dont need any items Created: 2019 Feb 07  Updated: 2019 Mar 18  Resolved: 2019 Mar 18

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

Type: Change Request Priority: Trivial
Reporter: Евланов Александр Викторович Assignee: Andris Zeila
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBXNEXT-1719 Allow to use temporal trigger functio... Closed

 Description   

There are several date&time functions that dont need any items to be calculated: 

now()

time()

date()

dayofmonth()

dayofweek()**

Will be very good if this functions can be used in trigger expressions and calculated items "as is", i.e, for example:
simply now()
instead of:
{template_name:item_key.now()} - in trigger expression
or 
now(item_key) - in calculated item expression
This is boring and annoying - to escape special characters and doing other strange work to get simply current unix_timestamp on the server.



 Comments   
Comment by richlv [ 2019 Feb 07 ]

Duplicate of ZBXNEXT-1719.

Generated at Sat Apr 20 14:43:04 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.