In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Environment:
Zabbix-server:192.168.216.8
Zabbix-proxy:192.168.216.7
Zabbix-agent:192.168.216.2
1. Zabbix-server: install with reference to zabbix3.0
Configure proxy:
1 、
2 、
three
four
II. Zabbix-proxy
1. Database installation and configuration
[root@zabbix-server zabbix] # yum isntall mariadb-server-y [root@zabbix-server zabbix] # systemctl start mariadb.serviceMariaDB [(none)] > CREATE DATABASE proxy;# create proxy Library MariaDB [(none)] > GRANT ALL PRIVILEGES ON proxy.* TO proxy@'127.0.0.1' IDENTIFIED BY 'proxypass';# Authorization proxyMariaDB [(none)] > FLUSH PRIVILEGES # Refresh [root@zabbix-server zabbix] # gizp-d / usr/share/doc/zabbix-proxy-mysql-3.0.5/schema.sql.gz# extract schema.sql.gz [root@zabbix-server zabbix] # mysql- u proxy- p-h227.0.0.1 proxy < / usr/share/doc/zabbix-proxy-mysql-3.0.5/schema.sql# import schema.sql into database proxy
2. Configure and install zabbix-proxy
[root@zabbix-server zabbix] # yum isntall zabbix-get zaabix-sender zabbix-proxy-mysql [root@zabbix-server zabbix] # grep-v "^ #" zabbix_proxy.confServer=192.168.216.8 # zabbix-serviceHostname=p1.xiaosheng.com# definition global unique label consistent with proxies's hostname definition database address DBName=proxy# definition database library DBUser=proxy # define database user name DBPassword=proxypass# define database password DBSocket=/var/lib/mysql/mysql.sock# define database sockProxyOfflineBuffer=2# offline cache duration Default is 2 hours for ConfigFrequency=10# to pull zabbix-server, and default is SNMPTrapperFile=/var/log/snmptrap/snmptrap.logTimeout=4ExternalScripts=/usr/lib/zabbix/externalscriptsLogSlowQueries=3000.
Configure zabbix-agent and configure
[root@ansible-zproxy zabbix] # yum install zabbix-agent zabbix-get zabbix-sender [root@ansible-zproxy zabbix] # grep-v "^ #" zabbix_agentd.confPidFile=/var/run/zabbix/zabbix_agentd.pidLogFile=/var/log/zabbix/zabbix_agentd.logLogFileSize=512EnableRemoteCommands=1LogRemoteCommands=1Server=127.0.0.1, 192.168.216.define the host ServerActive=127.0.0.1 that passively allows get, and 192.168.216.define the host Hostname=Zabbix serverInclude=/etc/zabbix/zabbix_agentd.d/ of active sender
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: 0
*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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.