Zabbix Chinese Configuration Guide Upgrade operation

Source: Internet
Author: User

First, Introduction:

The installation configuration of Zabbix has been described in the previous content, the details can refer to the " Zabbix Chinese Configuration Guide "and" Zabbix Chinese Configuration Guide continued "and corresponding optimization requirements" also talk about Zabbix performance optimization ". The Zabbix upgrade operation can be said to be very simple compared to a full installation.

Starting from 2.0, Zabbix upgrade does not need to upgrade the database manually, the Zabbix_server version will automatically upgrade the Zabbix database when the service is started after the upgrade is completed.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/79/33/wKiom1aLZW_xzB-uAAIRpWs8LnQ086.png "title=" 14.png "alt=" Wkiom1alzw_xzb-uaairpws8lnq086.png "/>

Second, pre-upgrade preparation

Download the Zabbix version you want to upgrade, unzip it and prepare it for compilation. It is important to note that the Zabbix compilation parameters are consistent with the previous version.

You can then stop the Zabbix service (including Zabbix_server and ZABBIX_AGENTD), the MySQL database service, the HTTP Web service, the service to stop backing up the original Zabbix version and configuration file (Zabbix_server, Zabbix _agentd and HTTP configuration), as shown in the following:

Service Zabbix_server stopservice httpd stopservice mysqld stopservice zabbix_agentd stopmv/usr/local/zabbix/usr/local /zabbix.orig

Third, compile

When the preparation is complete, you can compile the new version of Zabbix and remember to verify that all features have been compiled before installing, such as JMX and VMware monitoring support.

./configure--prefix=/usr/local/zabbix--enable-server--with-mysql--with-net-snmp--with-jabber--with-libcurl-- WITH-OPENIPMI--enable-proxy--enable-agent--enable-java--with-ssh2--with-libxml2makemake Install

Four, upgrade

After the successful compilation, do not rush to start the related services, the previous version of the corresponding configuration file copied to the new version of the compiled directory. Note that the contents of the Web page are also upgraded, with the Hugh instructions as follows:

Cd/var/www/html/cp-r/root/zabbix-2.4.5/frontends/php/./MV php zabbixcp/var/www/html/zabbix2.0.0/include/conf/ Zabbix.conf.php/var/var/www/html/zabbix2.0.0/include/conf/service mysqld StartService zabbix_server StartService Zabbix_agentd StartService httpd Start

V. Inspection and Testing

When you have confirmed that all the configurations are complete, start the related services in the following order: MySQL database, zabbix_server service, ZABBIX_AGENTD Service, httpd service.

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/79/33/wKiom1aLZSjyeJ6jAABczctdCRs024.png "title=" 11.png "alt=" Wkiom1alzsjyej6jaabczctdcrs024.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/79/33/wKiom1aLZT2SwO1-AABh-6zhG4Q761.png "title=" 12.png "alt=" Wkiom1alzt2swo1-aabh-6zhg4q761.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/79/33/wKiom1aLZU3iYX-JAABeCeqSH7M908.png "title=" 13.png "alt=" Wkiom1alzu3iyx-jaabeceqsh7m908.png "/>


Zabbix Chinese Configuration Guide "http://waringid.blog.51cto.com/65148/955939"

Zabbix Chinese Configuration Guide continued "http://waringid.blog.51cto.com/65148/1104627"

also talk about Zabbix performance optimization "http://waringid.blog.51cto.com/65148/1156013"

This article is from the "virtual reality" blog, be sure to keep this source http://waringid.blog.51cto.com/65148/1731707

Zabbix Chinese Configuration Guide Upgrade operation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.