Azure deployment guide for Zabbix proxy

Overview

This page describes how to deploy Zabbix proxy using Azure.

Deploying Zabbix proxy

To deploy Zabbix proxy, first, navigate to the Zabbix Azure marketplace page. Click Get it now.

Here you can read additional information about the current deployment, such as the general overview, pricing plans, and more. Click either Create or Start with a pre-set configuration.

Proceed with the detailed VM configuration: select the VM size, administrator account, disk, network, management, and other settings. These settings may vary depending on your infrastructure requirements.

You can use the following configuration as an example:

Basics tab:

  • Subscription: Azure subscription 1
  • Resource group: Zabbix_Resources
  • Virtual machine name: Zabbix-proxy
  • Availability options: No infrastructure redundancy required
  • Security type: Standard
  • Image: Zabbix Proxy 7.4 - x64 Gen2
  • Size: Standard_B2ms - 2 vcpus, 8 GiB memory
  • Authentication type: SSH public key
  • Username: azureuser
  • SSH public key source: Generate new key pair

Disks tab:

  • Encryption at host: unchecked
  • OS disk type: Standard SSD
  • Delete with VM: checked
  • Enable Ultra Disk compatibility: unchecked

Networking tab:

  • Virtual network: Zabbix_Resources-vnet
  • Public IP: Zabbix-proxy-ip
  • NIC network security group: Advanced
  • Configure network security group: Zabbix-proxy-nsg

Management tab: parameters can be left by default.

Monitoring tab: parameters can be left by default.

Advanced tab: parameters can be left by default.

Tags tab:

  • Name: Resource
  • Value: Zabbix
  • Resource: All resource selected

Confirm the VM details and create the VM.

You will be redirected to the VM deployment status page. Wait until the deployment is complete.

Once the deployment is complete, open the resource and note its public IP address. Connect to Zabbix proxy using SSH and the administrator credentials created during VM deployment to configure the proxy.

Zabbix proxy configuration file can be found in /etc/zabbix/zabbix_proxy.conf.

The initial proxy configuration consists of modifying the ProxyMode, Server, and Hostname parameters in Zabbix proxy configuration file.

The proxy mode can be changed by editing the ProxyMode parameter. Set ProxyMode=0for active mode orProxyMode=1` for passive mode.

The Server parameter should contain Zabbix server IP address.

The Hostname parameter should contain Zabbix proxy hostname. The hostname defined here should match the proxy name provided during proxy configuration in Zabbix frontend.

Open Zabbix frontend and navigate to Administration > Proxies. Click the Create proxy button.

Enter the same proxy name as the value of the Hostname parameter in the proxy configuration file.

Select the proxy mode and provide the proxy IP address (optional for active proxies).

Click the Create proxy button to create a proxy.

Proxy database location

The SQLite proxy database can be found in /tmp/zabbix_proxy.sqlite3 and is specified by the DBName parameter in Zabbix proxy configuration file.