In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
I. background
1. What impressed me most about the upgrade was the flat page design of 3.0.
2. The new version mainly makes the following improvements.
Provides encryption and authentication between Zabbix server,proxy and agent, based on PSK encryption algorithm. If users with high security requirements no longer need third-party tools or * to implement encryption
Add trend forecasting function
Some monitoring projects can be executed at a specific time.
You can define dependencies between alarm categories
Enforce housekeeper
Performance has been improved
Reduced poller configuration cache, optimized history cache and history synchronization
The performance of action processing is obviously improved by introducing in-memory caching mechanism.
Using Hash Mechanism to improve trigger processing performance
Restrict the calculation process of database requests to provide the nodata () function
Value cache has been improved
II. Upgrade steps
Zabbix agent is not forced to upgrade to 3.0.2, but it is officially recommended. Zabbix server and proxy must be upgraded to the same version.
In order to minimize downtime and data loss during the upgrade process, it is recommended that you stop and upgrade Zabbix server first, and then stop and upgrade proxy one by one. When all proxy upgrades have been completed, start zabbix server again.
1. Stop zabbix server
Service zabbix_server stop
2. Back up the zabbix database
Mysqldump-uzabbix-pzabbix zabbix > zabbix20170629.sql
3. Backup configuration files, php files, zabbix binaries
Mv / etc/zabbix / etc/zabbix24mv / var/www/zabbix / var/www/zabbix24mv / usr/local/zabbix / usr/local/zabbix24
4. Install the new zabbix server
Please click to view the installation details
Third, install version 3.0 of WEB
Because the minimum required version of PHP is 5.4, and then the version we installed for yum is 5.3.3, we need to upgrade PHP.
1. Upgrade the PHP version
Yum remove php php-* rpm-Uvh http://repo.webtatic.com/yum/el6/latest.rpmyum install php55w php55w-mysql php55w-mbstring-yyum install php55w-bcmath php55w-gd php55w-libxml php55w-xml-y
2. Modify the parameters of PHP
Post_max_size = 128Mmax_execution_time = 600max_input_time = 600date.timezone = Asia/Shanghai
3. Copy the WEB file
Be sure to pay attention to the ownership and permissions of the folder.
Cp-a frontends/php / var/www/zabbixchown apache.apache zabbix-Rservice httpd restart
4. Install the front end
The browser opens the set address.
Make sure that all versions are satisfied.
Enter details for connecting to the database. Zabbix database must already be created.
Enter Zabbix server details.
Review a summary of settings.
Now,You can see the new page.
Appendix: parameter optimization of Zabbix Server
The cache size of the CacheSize=200M configuration information, the shared memory size used to store host,item and trigger data. The value range is 128k~8G. The default is 8m.
Interval for CacheUpdateFrequency=60 zabbix to perform configuration cache updates. Default is 60 seconds.
DebugLevel=3 specifies the log level. By default, 3 prints warnings, 4 is debug information, and 5 is more detailed debug information.
HistoryCacheSize=50M is used to store the shared storage size of historical data. The default is 16m, and the value range can be 128K~2G.
HistoryIndexCacheSize=8M is used to index the shared storage size of historical data in the historical data cache, and it takes about 100 bytes to cache a monitoring project. This parameter is supported from 3.0.0
HousekeepingFrequency=1 sets how often zabbix executes housekeeping, which defaults to 1 hour. Delete expired data in the database during the housekeeping operation. You can set HousekeepingFrequency to 0 to turn off automatic housekeeping, and then manually execute housekeeper_execute to clean up expired data
The amount of expired data deleted by MaxHousekeeperDelete=5000 in a housekeeping task does not exceed this value.
The amount of shared memory that TrendCacheSize=20M stores trend data
The shared memory size of the historical data of the ValueCacheSize=10M cache monitoring data.
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.
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.