Details

    • Type: Change Request
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.2.1
    • Fix Version/s: None
    • Component/s: Frontend (F)
    • Labels:

      Description

      Hello,

      I have an apache dynamic template (which I want to share at zabbix share in a few days) which add connections /directories /logs to host monitorization.

      As apache config is a complex config, the lld rules generate diferent macros if you are monitoring one apache with mod_jk, or with proxypasses.

      At description of the items created by lld rule, I would like to add all macros discovered.

      Examples of that macros are:
      {#IP}
      {#PORT}
      {#BALANCERNAME}
      {#BALANCERMEMBER_PROTO}
      {#BALANCERMEMBER_IP}
      {#BALANCERMEMBER_PORT}
      {#BALANCERMEMBER_PATH}
      {#BALANCER_VHOST}
      {#DIRECTORY}
      {#DIRECTORYNAME}
      {#DIRECTORYVHOST}
      {#DIRECTORYVHOST}
      {#PROXYPASS_VHOST}
      {#PROXYPASS_SRC}
      {#PROXYPASS_DESTIP}
      {#PROXYPASS_DESTPORT}
      {#PROXYPASS_DESTPATH}
      {#PROXYPASS_DESTIP_UNIQ}
      {#PROXYPASS_DESTPORT_UNIQ}
      {#PROXYPASS_DESTPATH_UNIQ}
      {#PROXYPASS_VHOSTS_UNIQ}

      I would like a macro:
      {LIST.MACROS}

      which expand to:
      {#MACRO1}: "value of the macro1"
      {#MACRO2}: "value of the macro2"

      Alternatively I would like to have a syntax to write a value if a macro is not defined:

      {#MACRO1|value1}

      So I can write "{#MACRO1|}" and have expand to null if #MACRO1 is not defined.

      Another idea would be to have a tab additional on item config tab which would show you which MACROS has the item

      Thank you very much

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              i5513 Javier Barroso
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: