Easy installation script of Zabbix Proxy service with SQLite3.
You can choose between different options, such as:
- the Zabbix Proxy version supported by your distribution.
- the source repository of the package (Zabbix or the distribution).
Works on Ubuntu, Debian and Rasbpian.
The vx_zbxproxy.sh
application does not require any additional packages to work.
-
Download files from this repository directly with git or via https.
wget -o svc_zabbixproxy.zip https://github.com/cybiohub/svc_zabbixproxy/archive/refs/heads/main.zip
-
Unzip the zip file.
unzip svc_zabbixproxy.zip
-
Make changes to the installation script to configure it to match your environment.
You can customize the following settings:
- Choose between Zabbix repository version or distribution version. By default, this is the Zabbix repository version.
- The version of Zabbix Proxy you want to install.
- Directory location for additional scripts. By default in
/opt/zabbix
.
-
Once completed, set the
Configured
parameter totrue
. -
Adjust permissions.
chmod 500 vx_zbxproxy.sh
-
Run the script.
./vx_zbxproxy.sh
-
Configure Zabbix Proxy service.
vim /etc/zabbix/zabbix_proxy.conf
# TLS PSK Identity for your Zabbix Proxy. TLSPSKIdentity=YOURZABBIXPROXY # IP address of the Zabbix server. Server=W.X.Y.Z # Name identifying the Zabbix Proxy to the Zabbix server. Hostname=YOURZABBIXPROXY
-
Activate and start the service.
systemctl enable zabbix-proxy systemctl start zabbix-proxy systemctl status zabbix-proxy
-
Voilà! Enjoy!