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

provide a built-in echo[] item and a true() trigger function

    XMLWordPrintable

    Details

      Description

      It is sometimes useful to have an item echo back a particular value. Here is a short list of ideas:

      • echo[] item can be used for concatenating strings: echo["{$SOFTWARE} {$VERSION}"];
      • in low-level discovery, it can be used to echo a discovered value: echo["{#SOFTWARE.VERSION}"];
      • in an issue like ZBXNEXT-2827, it can be used to work around places where a macro is not allowed, but an item is: echo["{HOST.NAME}"].

      Another useful function would be a true() trigger function that would always be true. It is useful when we wish to trigger on any received value, for instance, errors in a log file. Currently, people have to use something like host:item.strlen()>0.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            asaveljevs Aleksandrs Saveljevs
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: