mirror of
				https://github.com/bashclub/zamba-lxc-toolbox.git
				synced 2025-11-04 00:02:26 +01:00 
			
		
		
		
	add server parameter for zabbix proxy
This commit is contained in:
		@@ -213,3 +213,8 @@ SEMAPHORE_ADMIN_PASSWORD='Start123'
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Install Portainer (=full), Protainer Agent (=agent) or none
 | 
					# 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}
 | 
					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 
 | 
					systemctl enable zabbix-proxy 
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user