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

Details

    • Change Request
    • Resolution: Unresolved
    • Trivial
    • 7.0.0alpha8, 7.0 (plan)
    • None
    • Frontend (F)
    • None
    • Team C
    • Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint 106 (Nov 2023), Sprint 107 (Dec 2023) 🎄
    • 5

    Description

      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}
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: