add server parameter for zabbix proxy

This commit is contained in:
Thorsten Spille 2024-05-17 12:18:41 +02:00
parent d76b7ebfd2
commit d1c9615a4a
2 changed files with 8 additions and 2 deletions

View File

@ -212,4 +212,9 @@ SEMAPHORE_ADMIN_PASSWORD='Start123'
############### docker Section ###############
# Install Portainer (=full), Protainer Agent (=agent) or none
PORTAINER=none
PORTAINER=none
############### zabbix Section ###############
# (Zabbix Proxy) Name:Port of the zabbix server
ZBX_ADDR=zabbix.zmb.rocks:10051

View File

@ -31,7 +31,8 @@ EOF
cat /usr/share/zabbix-sql-scripts/postgresql/proxy.sql | sudo -u zabbix psql ${ZABBIX_DB_NAME}
echo "DBPassword=${ZABBIX_DB_PWD}" >> /etc/zabbix/zabbix_server.conf
echo "DBPassword=${ZABBIX_DB_PWD}" >> /etc/zabbix/zabbix_proxy.conf
echo "Server=${ZBX_ADDR}" >> /etc/zabbix/zabbix_proxy.conf
systemctl enable zabbix-proxy