In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Zabbix-proxy building
Download the source of zabbix-proxy, official website address: https://www.zabbix.com/downloadrpm-Uvh https://repo.zabbix.com/zabbix/4.2/rhel/7/x86_64/zabbix-release-4.2-2.el7.noarch.rpm installation database yum install-y mariadb-server launch database and create zabbix_proxy database systemctl start mariadbmysql
MariaDB [(none)] > create database zabbix_proxy character set utf8 collate utf8_bin; # create zabbix_ proxy library
MariaDB [(none)] > grant all privileges on zabbix_proxy.* to zabbix@localhost identified by 'zabbix'; # create a zabbix_proxy user and give him all permissions of the zabbix_ proxy library with a password of zabbix
MariaDB [(none)] > flush privileges; # Reload permissions table
MariaDB [(none)] > quit # exit
Install zabbix-proxyyum install-y zabbix-proxy to import zabbix-proxy default data zcat / usr/share/doc/zabbix-proxy-mysql*/schema.sql.gz | mysql zabbix_proxy-uzabbix-pzabbix next modify the zabbix-proxy configuration file vim / etc/zabbix/zabbix_proxy.conf
Profile parameter description:
ProxyMode / / Proxy working mode, default is active mode, actively send data to Server
Server / / specify the server address, that is, the address of zabbix-server
ServerPort / / Server side PORT
Hostname / / Proxy hostname, which should be the same as the proxy name entered in the zabbix-web interface
ListenPort / / proxy listening port
LogFile / / Proxy Agent Log path
Path to the PidFile / / PID file
DBHost / / proxy database hostname
DBName / / proxy side database name
DBUser / / proxy end database user
DBPassword / / proxy database password
DBSocket / / Proxy database SOCKET path
DBPort / / Proxy database port number
Interval between DataSenderFrequency / / Proxy sending data to Server
Number of StartPollers / / Proxy process pools
StartDiscoverers / / Proxy side automatically discovers the number of threads of the host
CacheSize / / memory cache configuration
Number of StartDBSyncers / / synchronous data threads
HistoryCacheSize / / Historical data cache size
LogSlowQueries / / slow query log records in milliseconds
Timeout / / timeout.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 213
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.