1,zabbix distributed as follows
Zabbix-proxy will collect data from each room to proxy, And then transferred to the Zabbix-server end. After Jumpserver joins, because Jumpserver own authority control, the batch management and the Operation log record, the video recording and so on outstanding function, uses the OpenVPN to dial into the room to complete the centralized management separately
2, because Zabbix in the absence of dedicated line access, Zabbix-server itself is through the public network and Zabbix-proxy transmission data, after joining the OpenVPN almost and proxy is not much different, because the OpenVPN support multi-user, Zabbix-server one can dial into 3 IDC room. And after OpenVPN optimization, more convenient than Zabbix distributed management, as shown in the following figure:
Specific steps to operate:
1, deploy OpenVPN,
Install OpenVPN:
Cd/usr/local
Download the Lzo compression module for compressing the transmitted data:
wget http://www.oberhumer.com/opensource/lzo/download/lzo-2.06.tar.gz
Tar XF lzo-2.06.tar.gz
CD lzo-2.06
./configure
Make && make install
Cd..
Because OpenVPN relies on OpenSSL, it installs:
Yum Install-y openssl*
Https://openvpn.net/release/openvpn-2.1.2.tar.gz
Tar XF openvpn-2.1.2.tar.gz
CD openvpn-2.1.2
./configure--with-lzo-headers=/usr/local/include/--with-lzo-lib=/usr/local/lib
Make && make install
Cd..
2, install Jumpserver, configure user sudo and other management
3, using Jumpserver configuration zabbix-agent
4, install Zabbix-server
5, edit jumpserver and OpenVPN