-
Change Request
-
Resolution: Fixed
-
Minor
-
6.0.19, 6.4.4
-
None
-
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:
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