Details
-
Change Request
-
Status: Closed
-
Trivial
-
Resolution: Duplicate
-
2.0.5
-
None
Description
Trigger functions always require an item to attach to. In the case of time(), this bloats the expression, while actually there is no connection to the item at all:
{host:item.time(0)} > 010000 & {host:item.time(0)} < 020000
time() > 010000 & time() < 020000
On the other hand, that would allow for trigger expressions without an item reference at all. I suppose that'd break everything.
Attachments
Issue Links
- is duplicated by
-
ZBXNEXT-2205 Ability to add a time or dayofweek condition trigger without associate it to an item.
-
- Closed
-
-
ZBXNEXT-3486 new function for triggers - absolute(value)
-
- Closed
-
-
ZBXNEXT-3688 New global macro/function for current (unix) time
-
- Closed
-
-
ZBXNEXT-5014 Get rid of unusable item key text in functions that dont need any items
-
- Closed
-
-
ZBX-6756 Epoch time function now() causes event loop
-
- Closed
-