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

Remaster official Azure templates to support HTTP proxy

XMLWordPrintable

    • Sprint 102 (Jul 2023), Sprint 103 (Aug 2023)
    • 1.5

      Currently, the "Azure" template(s) https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/cloud/azure_http?at=refs%2Fheads%2Frelease%2F6.0 do not support specifying HTTP proxy out from box.

      Other cloud monitoring templates like AWS do provide this option:

      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/cloud/AWS/aws_http?at=refs%2Fheads%2Frelease%2F6.0

      AWS solution allows to define "{$AWS.PROXY}" at template/host level. Azure template(s) does not have a support yet implemented.

      Is it possible to implement it and the mainstream solution officially?

      With my knowledge, we accomplished some sort of success by locating the line:

      .. request = new HttpRequest(); 

      and immediately after this line, insert a snippet:

                              if (Azure.params.proxy) {
                                  request.setProxy(Azure.params.proxy);
                              } 

      There are a lot of items to edit and the question "Is this the most standardized JavaScript way to do it?"

      I think this patch must be implemented for templates:

      • Azure by HTTP
      • Azure Cosmos DB for MongoDB by HTTP
      • Azure Microsoft SQL Database by HTTP
      • Azure Microsoft SQL Serverless Database by HTTP
      • Azure MySQL Flexible Server by HTTP
      • Azure MySQL Single Server by HTTP
      • Azure PostgreSQL Flexible Server by HTTP
      • Azure PostgreSQL Single Server by HTTP
      • Azure Virtual Machine by HTTP

            egordymov Evgenii Gordymov
            aigars.kadikis Aigars Kadikis
            Team INT
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: