Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-5014

Get rid of unusable item key text in functions that dont need any items

    XMLWordPrintable

Details

    • Change Request
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • None
    • None
    • Server (S)
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              wiper Andris Zeila
              aleksandr.evlanov Евланов Александр Викторович
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: