Lançado a versão Zabbix 3.2 com bastante novidades, bora atualizar.
Novidades: http://www.zabbix.com/whats_new.php
Upgrade: https://www.zabbix.com/documentation/3.2/manual/installation/upgrade
1 - Dicas
- Antes de qualquer ação efetue backup do banco de dados, scripts, confs, e um belo snapshot do seu ambiente.
- O upgrade do pacote já efetua o update da base de dados.
- Leia o release notes http://www.zabbix.com/rn3.2.0.php
- Crie uma estratégia e valide antes de levar para produção.
2 - Upgrade
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
[root@zabbix ~]# cd /tmp/ [root@zabbix tmp]# wget http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm [root@zabbix tmp]# rpm -Uvh zabbix-release-3.2-1.el7.noarch.rpm [root@zabbix tmp]# yum clean all [root@zabbix tmp]# systemctl stop zabbix-server [root@zabbix tmp]# yum -y update [root@zabbix tmp]# zabbix_server -V zabbix_server (Zabbix) 3.2.0 Revision 62485 13 September 2016, compilation time: Sep 13 2016 16:44:17 Copyright (C) 2016 Zabbix SIA License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it according to the license. There is NO WARRANTY, to the extent permitted by law. [root@zabbix tmp]# systemctl start zabbix-server |
Abaixo o log para ver que na atualização do pacote ele efetua o update necessário na estrutura da base de dados:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
674:20160917:123254.318 Got signal [signal:15(SIGTERM),sender_pid:2496,sender_uid:0,reason:0]. Exiting ... 685:20160917:123254.318 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ... 678:20160917:123254.319 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ... 679:20160917:123254.319 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ... 681:20160917:123254.319 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ... 682:20160917:123254.319 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ... 683:20160917:123254.319 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ... 684:20160917:123254.319 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ... 686:20160917:123254.378 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ... 687:20160917:123254.378 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ... 674:20160917:123256.327 syncing history data... 674:20160917:123256.327 syncing history data done 674:20160917:123256.327 syncing trends data... 674:20160917:123258.631 syncing trends data done 674:20160917:123258.632 Zabbix Server stopped. Zabbix 3.0.4 (revision 61185). 2501:20160917:123258.721 Starting Zabbix Server. Zabbix 3.2.0 (revision 62485). 2501:20160917:123258.721 ****** Enabled features ****** 2501:20160917:123258.721 SNMP monitoring: YES 2501:20160917:123258.721 IPMI monitoring: YES 2501:20160917:123258.721 Web monitoring: YES 2501:20160917:123258.721 VMware monitoring: YES 2501:20160917:123258.721 SMTP authentication: YES 2501:20160917:123258.721 Jabber notifications: YES 2501:20160917:123258.721 Ez Texting notifications: YES 2501:20160917:123258.721 ODBC: YES 2501:20160917:123258.721 SSH2 support: YES 2501:20160917:123258.721 IPv6 support: YES 2501:20160917:123258.721 TLS support: YES 2501:20160917:123258.721 ****************************** 2501:20160917:123258.721 using configuration file: /etc/zabbix/zabbix_server.conf 2501:20160917:123258.861 current database version (mandatory/optional): 03000000/03000000 2501:20160917:123258.861 required mandatory version: 03020000 2501:20160917:123258.861 starting automatic database upgrade 2501:20160917:123259.495 completed 1% of database upgrade 2501:20160917:123259.965 completed 2% of database upgrade 2501:20160917:123259.967 completed 3% of database upgrade 2501:20160917:123300.626 completed 5% of database upgrade 2501:20160917:123300.690 completed 6% of database upgrade 2501:20160917:123300.833 completed 7% of database upgrade 2501:20160917:123300.921 completed 8% of database upgrade 2501:20160917:123300.931 completed 10% of database upgrade 2501:20160917:123300.952 completed 11% of database upgrade 2501:20160917:123300.961 completed 12% of database upgrade 2501:20160917:123300.964 completed 13% of database upgrade 2501:20160917:123300.971 completed 15% of database upgrade 2501:20160917:123301.022 completed 16% of database upgrade 2501:20160917:123301.125 completed 17% of database upgrade 2501:20160917:123301.129 completed 18% of database upgrade 2501:20160917:123301.131 completed 20% of database upgrade 2501:20160917:123301.218 completed 21% of database upgrade 2501:20160917:123301.223 completed 22% of database upgrade 2501:20160917:123301.236 completed 24% of database upgrade 2501:20160917:123301.257 completed 25% of database upgrade 2501:20160917:123301.265 completed 26% of database upgrade 2501:20160917:123302.062 completed 27% of database upgrade 2501:20160917:123302.142 completed 29% of database upgrade 2501:20160917:123302.183 completed 30% of database upgrade 2501:20160917:123302.183 Action "Zimbra" will be disabled during database upgrade: conditions might have matched success event which is not supported anymore. 2501:20160917:123302.184 Action "Cron" will be disabled during database upgrade: conditions might have matched success event which is not supported anymore. 2501:20160917:123302.184 Action "Postfix" will be disabled during database upgrade: conditions might have matched success event which is not supported anymore. 2501:20160917:123302.184 Action "Spooler" will be disabled during database upgrade: conditions might have matched success event which is not supported anymore. 2501:20160917:123302.184 completed 31% of database upgrade 2501:20160917:123302.254 completed 32% of database upgrade 2501:20160917:123302.254 Action "Report problems to Zabbix administrators" condition "Trigger value = PROBLEM" will be removed during database upgrade: this type of condition is not supported anymore 2501:20160917:123302.255 Action "sendhtml" condition "Trigger value = PROBLEM" will be removed during database upgrade: this type of condition is not supported anymore 2501:20160917:123302.256 completed 34% of database upgrade 2501:20160917:123302.293 completed 35% of database upgrade 2501:20160917:123302.359 completed 36% of database upgrade 2501:20160917:123302.373 completed 37% of database upgrade 2501:20160917:123302.385 completed 39% of database upgrade 2501:20160917:123302.409 completed 40% of database upgrade 2501:20160917:123302.425 completed 41% of database upgrade 2501:20160917:123302.439 completed 43% of database upgrade 2501:20160917:123302.445 completed 44% of database upgrade 2501:20160917:123302.458 completed 45% of database upgrade 2501:20160917:123302.466 completed 46% of database upgrade 2501:20160917:123302.468 completed 48% of database upgrade 2501:20160917:123302.471 completed 49% of database upgrade 2501:20160917:123302.481 completed 50% of database upgrade 2501:20160917:123302.481 completed 51% of database upgrade 2501:20160917:123302.481 completed 53% of database upgrade 2501:20160917:123302.498 completed 54% of database upgrade 2501:20160917:123302.532 completed 55% of database upgrade 2501:20160917:123302.596 completed 56% of database upgrade 2501:20160917:123302.614 completed 58% of database upgrade 2501:20160917:123302.747 completed 59% of database upgrade 2501:20160917:123302.758 completed 60% of database upgrade 2501:20160917:123302.760 completed 62% of database upgrade 2501:20160917:123302.765 completed 63% of database upgrade 2501:20160917:123302.776 completed 64% of database upgrade 2501:20160917:123302.779 completed 65% of database upgrade 2501:20160917:123302.820 completed 67% of database upgrade 2501:20160917:123302.848 completed 68% of database upgrade 2501:20160917:123302.855 completed 69% of database upgrade 2501:20160917:123302.858 completed 70% of database upgrade 2501:20160917:123302.860 completed 72% of database upgrade 2501:20160917:123302.883 completed 73% of database upgrade 2501:20160917:123302.909 completed 74% of database upgrade 2501:20160917:123302.912 completed 75% of database upgrade 2501:20160917:123302.922 completed 77% of database upgrade 2501:20160917:123302.926 completed 78% of database upgrade 2501:20160917:123303.009 completed 79% of database upgrade 2501:20160917:123303.029 completed 81% of database upgrade 2501:20160917:123303.031 completed 82% of database upgrade 2501:20160917:123303.039 completed 83% of database upgrade 2501:20160917:123303.041 completed 84% of database upgrade 2501:20160917:123303.080 completed 86% of database upgrade 2501:20160917:123303.086 completed 87% of database upgrade 2501:20160917:123303.093 completed 88% of database upgrade 2501:20160917:123303.166 completed 89% of database upgrade 2501:20160917:123303.238 completed 91% of database upgrade 2501:20160917:123303.323 completed 92% of database upgrade 2501:20160917:123303.343 completed 93% of database upgrade 2501:20160917:123303.343 completed 94% of database upgrade 2501:20160917:123303.424 completed 96% of database upgrade 2501:20160917:123303.499 completed 97% of database upgrade 2501:20160917:123303.506 completed 98% of database upgrade 2501:20160917:123303.506 completed 100% of database upgrade 2501:20160917:123303.506 database upgrade fully completed 2501:20160917:123303.519 server #0 started [main process] |