mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-11-07 19:31:58 +01:00
add server parameter for zabbix proxy
This commit is contained in:
parent
d76b7ebfd2
commit
d1c9615a4a
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user