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

make it easier to get IDs of items not involved in trigger expression

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • Frontend (F), Server (S)

      Hi,
      at the moment I must create a trigger with different expressions to get the properties of the item not directly related to trigger firing in an action mail.

      for example:

      (item1 = 0 | item2 = 5) & _alwaystrue_(item3)
      

      or:

      (item1 = 0 | item2 = 5) | _alwaysfalse_(item3)
      

      now I can get the values from item3 with {ITEM.LASTVALUE3} and ID with {ITEM.ID3}, but sometimes its not quiet easy to get a value like alwaystrue or alwaysfalse

      Realworld scenario:
      we have a blackout and our UPS is on battery (first mail) now I want to get every XZ minutes a mail with UPS voltage and autonomy time (next mails) without a a new action...

      Update: yes, {host:item.function()} notation can solve the first part of the problem, but workarounds are still needed to get item ID. id() trigger function could help.

            Unassigned Unassigned
            shad0w Stefan
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: