Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-14912

Can't use all macros field from LDD

XMLWordPrintable

    • Icon: Patch request Patch request
    • Resolution: Commercial support required
    • Icon: Minor Minor
    • None
    • None
    • Templates (T)
    • None

      Steps to reproduce:

      1. Confiugred Discovery Rule from json with macros {#APP_NAME} and {#APP_PORT}
      2. Configured Item Prototype with name: "Application {#APP_NAME} is available on port: {#APP_PORT}" with key: "net.tcp.service.perfhttp,{$SERVER_1_IP},{#APP_PORT}"

      Result:
      On Item list I got "Application {#APP_NAME} is available on port: 8100"
      Expected:
      Name of Item should be "Application APPLICATION_NAME is available on port: 8100"

      My json

      {
      "data":[
      {"{#APP_NAME}": "gateway-activation_1"},{"{#APP_PROC}": "gateway-activation_1"},{"{#APP_PORT}": "8500"},
      {"{#APP_NAME}": "gateway-core_1"},{"{#APP_PROC}": "gateway-core_1"},{"{#APP_PORT}": "8200"},
      {"{#APP_NAME}": "gateway-core_2"},{"{#APP_PROC}": "gateway-core_2"},{"{#APP_PORT}": "8210"},
      {"{#APP_NAME}": "gateway-eureka_1"},{"{#APP_PROC}": "gateway-eureka_1"},{"{#APP_PORT}": "8761"},
      {"{#APP_NAME}": "gateway-frontend_1"},{"{#APP_PROC}": "gateway-frontend_1"},{"{#APP_PORT}": "8400"},
      {"{#APP_NAME}": "gateway-mcm_1"},{"{#APP_PROC}": "gateway-mcm_1"},{"{#APP_PORT}": "8300"},
      {"{#APP_NAME}": "gateway-mcm_2"},{"{#APP_PROC}": "gateway-mcm_2"},{"{#APP_PORT}": "8310"},
      {"{#APP_NAME}": "gateway-oidc_1"},{"{#APP_PROC}": "gateway-oidc_1"},{"{#APP_PORT}": "8100"},
      {"{#APP_NAME}": "gateway-oidc_2"},{"{#APP_PROC}": "gateway-oidc_2"},{"{#APP_PORT}": "8110"}
      ]
      }
      

        1. discovered_items.JPG
          discovered_items.JPG
          85 kB
        2. discovery_rules.JPG
          discovery_rules.JPG
          52 kB
        3. Item_Prototype.JPG
          Item_Prototype.JPG
          60 kB

            Unassigned Unassigned
            Dzik Artur
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: