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

"HPE Primera by HTTP" template does not use customized port on some items

XMLWordPrintable

    • 0.1

      Template "HPE Primera by HTTP" has a macro {$HPE.PRIMERA.API.PORT} which is used by item: "HPE Primera: Service ping"

      net.tcp.service["{$HPE.PRIMERA.API.SCHEME}","{HOST.CONN}","{$HPE.PRIMERA.API.PORT}"]
      

      However the primary Mater item: "HPE Primera: Get data | hpe.primera.get.data" does not include that macro in the parameters for the script which means it's defaulting to (presumably) 443, despite that macro can define another port.

      Updating the Master item's "base_url" parameter to this (adding :{$HPE.PRIMERA.API.PORT} at the end):

      {$HPE.PRIMERA.API.SCHEME}://{HOST.CONN}:{$HPE.PRIMERA.API.PORT}
      

      allowed the item to successfully pull data.

            drasikhov Denis Rasikhov
            zalex_ua Oleksii Zagorskyi
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: