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

Extend support of .regsub / .iregsub on build-in and user macros

XMLWordPrintable

    • Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint 106 (Nov 2023), Sprint 107 (Dec 2023)
    • 5

      Currently, these functions are supported only in following macros:

      • {ITEM.VALUE}
      • {ITEM.LASTVALUE}
      • Low-level discovery macros (except in low-level discovery rule filter)

      Please consider extending list of supported internal macroses.
      Use cases are to extract some values from the macro and use them as arguments in scripts. Example - FQDN.

      List of suggested macroses below, but any of supported ones could help in some specific configuration.:

      {HOST.HOST(NAME)}
      {HOST.DNS(CONN)}
      {HOST.DESCRIPTION} {ITEM.NAME}
      {ITEM.DESCRIPTION} {TRIGGER.NAME}
      {TRIGGER.DESCRIPTION}
      

            sasha Alexander Vladishev
            dlamberts Dmitrijs Lamberts
            Team C
            Votes:
            6 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved: