mirror of
https://git.bashclub.org/bashclub/zamba-lxc-toolbox.git
synced 2025-07-24 20:54:31 +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
|
@ -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