mirror of
https://git.bashclub.org/bashclub/zamba-lxc-toolbox.git
synced 2025-07-25 21:24:54 +02:00
add server parameter for zabbix proxy
This commit is contained in:
parent
d76b7ebfd2
commit
d1c9615a4a
2 changed files with 8 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue