设为首页 收藏本站
查看: 2482|回复: 2

[经验分享] Zabbix 3.2.6 升级到 Zabbix 3.4.3

[复制链接]

尚未签到

发表于 2017-10-23 17:21:29 | 显示全部楼层 |阅读模式
一、Zabbix 3.4.3新功能
1 新仪表板
1.1 Map导航树
2 网络设备监控模板
3 Proxies代理支持远程命令
4 从属监控项
5 告警并行处理
6 已通知的问题确认
7 监控项数据预处理
    新预处理选项
8 可配置的JMX端点
9 JMX低级别发现
10 用于正则表达式的PCRE库
11 Web监控中的URL编码支持
    URL自动编码
    变量灵活的URL编码
    域名支持Unicode编码
12 Map改进
    权限变更
    支持多触发器
    移动元素
    复制和粘贴元素
    添加形状和线条
13 在时间段内支持宏和时间后缀
14 事件标签中的主机宏支持
15 前端的改进
15.1 去掉对IE9和IE10的支持
15.2 完整克隆screens和maps
15.3 单选按钮和复选框风格的统一
15.4 将相同的权限应用于嵌套的主机组
15.5 字段大小的增加
15.6 其他
16 守护进程改善
16.1 IPMI轮询
16.2 配置参数
16.3 关于agent代理的公制线程崩溃的更多信息
17 监控项的变更和改进
18 低级发现
19 脚本和命令返回码检查
https://www.zabbix.com/documenta ... duction/whatsnew340
二、升级准备
1、停止Zabbix server
1
service zabbix_server stop



2、备份现有的Zabbix数据库
1
mysqldump -uzabbix -pzabbix zabbix > zabbix20171021.sql



3、备份配置文件,PHP文件和Zabbix二进制文件

1
2
3
mv /etc/zabbix /etc/zabbix32
mv /var/www/zabbix /var/www/zabbix32
mv /usr/local/zabbix /usr/local/zabbix32



三、编译安装新版本

1、下载源码包
1
tar xf zabbix-3.4.3.tar.gz



2、编译
     我这里加上了很多功能,所以编译的插件比较多,请自行解决依赖关系。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
cd zabbix-3.4.3

./configure \
--prefix=/usr/local/zabbix \
--sysconfdir=/etc/zabbix \
--enable-server \
--enable-agent \
--enable-java \
--with-mysql \
--with-libxml2 \
--with-openipmi \
--with-net-snmp \
--with-openssl \
--with-libcurl

make
make install



3、修改配置文件
1
/etc/zabbix/zabbix_server.conf



4、启动服务
1
service zabbix_server start



5、升级监测
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
13149:20171021:124628.445 Starting Zabbix Server. Zabbix 3.4.3 (revision 73588).
13149:20171021:124628.445 ****** Enabled features ******
13149:20171021:124628.445 SNMP monitoring:           YES
13149:20171021:124628.445 IPMI monitoring:           YES
13149:20171021:124628.445 Web monitoring:            YES
13149:20171021:124628.445 VMware monitoring:         YES
13149:20171021:124628.445 SMTP authentication:        NO
13149:20171021:124628.445 Jabber notifications:       NO
13149:20171021:124628.445 Ez Texting notifications:  YES
13149:20171021:124628.445 ODBC:                       NO
13149:20171021:124628.445 SSH2 support:               NO
13149:20171021:124628.445 IPv6 support:               NO
13149:20171021:124628.445 TLS support:               YES
13149:20171021:124628.445 ******************************
13149:20171021:124628.445 using configuration file: /etc/zabbix/zabbix_server.conf
13149:20171021:124628.482 current database version (mandatory/optional): 03020000/03020000
13149:20171021:124628.482 required mandatory version: 03040000
13149:20171021:124628.482 optional patches were found
13149:20171021:124628.482 starting automatic database upgrade
13149:20171021:124628.522 completed 0% of database upgrade
13149:20171021:124629.339 completed 1% of database upgrade
13149:20171021:124629.550 completed 2% of database upgrade
13149:20171021:124629.669 completed 3% of database upgrade
13149:20171021:124629.693 completed 4% of database upgrade
13149:20171021:124629.750 completed 5% of database upgrade
13149:20171021:124629.810 completed 6% of database upgrade
13149:20171021:124629.859 completed 7% of database upgrade
13149:20171021:124629.900 completed 8% of database upgrade
13149:20171021:124629.984 completed 9% of database upgrade
13149:20171021:124631.323 completed 10% of database upgrade
13149:20171021:124632.084 completed 11% of database upgrade
13149:20171021:124632.127 completed 12% of database upgrade
13149:20171021:124632.135 completed 13% of database upgrade
13149:20171021:124633.618 completed 14% of database upgrade
13149:20171021:124637.725 completed 15% of database upgrade
13149:20171021:124637.799 completed 16% of database upgrade
13149:20171021:124637.839 completed 17% of database upgrade
13149:20171021:124637.904 completed 18% of database upgrade
13149:20171021:124637.932 completed 19% of database upgrade
13149:20171021:124637.965 completed 20% of database upgrade
13149:20171021:124638.082 completed 21% of database upgrade
13149:20171021:124638.127 completed 22% of database upgrade
13149:20171021:124638.248 completed 23% of database upgrade
13149:20171021:124638.951 completed 24% of database upgrade
13149:20171021:124639.005 completed 25% of database upgrade
13149:20171021:124639.050 completed 26% of database upgrade
13149:20171021:124639.123 completed 27% of database upgrade
13149:20171021:124639.159 completed 28% of database upgrade
13149:20171021:124639.214 completed 29% of database upgrade
13149:20171021:124639.273 completed 30% of database upgrade
13149:20171021:124639.308 completed 31% of database upgrade
13149:20171021:124639.361 completed 32% of database upgrade
13149:20171021:124639.406 completed 33% of database upgrade
13149:20171021:124639.450 completed 34% of database upgrade
13149:20171021:124639.459 completed 35% of database upgrade
13149:20171021:124639.471 completed 36% of database upgrade
13149:20171021:124639.497 completed 37% of database upgrade
13149:20171021:124639.548 completed 38% of database upgrade
13149:20171021:124639.556 completed 39% of database upgrade
13149:20171021:124639.614 completed 40% of database upgrade
13149:20171021:124639.702 completed 41% of database upgrade
13149:20171021:124639.735 completed 42% of database upgrade
13149:20171021:124639.742 completed 43% of database upgrade
13149:20171021:124639.798 completed 44% of database upgrade
13149:20171021:124640.310 completed 45% of database upgrade
13149:20171021:124641.402 completed 46% of database upgrade
13149:20171021:124642.016 completed 47% of database upgrade
13149:20171021:124642.491 completed 48% of database upgrade
13149:20171021:124643.458 completed 49% of database upgrade
13149:20171021:124643.872 completed 50% of database upgrade
13149:20171021:124643.933 completed 51% of database upgrade
13149:20171021:124643.967 completed 52% of database upgrade
13149:20171021:124644.036 completed 53% of database upgrade
13149:20171021:124644.061 completed 54% of database upgrade
13149:20171021:124644.114 completed 55% of database upgrade
13149:20171021:124644.144 completed 56% of database upgrade
13149:20171021:124644.179 completed 57% of database upgrade
13149:20171021:124644.217 completed 58% of database upgrade
13149:20171021:124644.247 completed 59% of database upgrade
13149:20171021:124644.290 completed 60% of database upgrade
13149:20171021:124644.341 completed 61% of database upgrade
13149:20171021:124644.369 completed 62% of database upgrade
13149:20171021:124644.412 completed 63% of database upgrade
13149:20171021:124644.485 completed 64% of database upgrade
13149:20171021:124644.520 completed 65% of database upgrade
13149:20171021:124644.552 completed 66% of database upgrade
13149:20171021:124644.569 completed 67% of database upgrade
13149:20171021:124644.579 completed 68% of database upgrade
13149:20171021:124645.093 completed 69% of database upgrade
13149:20171021:124645.188 completed 70% of database upgrade
13149:20171021:124645.246 completed 71% of database upgrade
13149:20171021:124646.708 completed 72% of database upgrade
13149:20171021:124646.744 completed 73% of database upgrade
13149:20171021:124646.781 completed 74% of database upgrade
13149:20171021:124646.823 completed 75% of database upgrade
13149:20171021:124646.857 completed 76% of database upgrade
13149:20171021:124646.956 completed 77% of database upgrade
13149:20171021:124647.003 completed 78% of database upgrade
13149:20171021:124647.049 completed 79% of database upgrade
13149:20171021:124647.092 completed 80% of database upgrade
13149:20171021:124647.178 completed 81% of database upgrade
13149:20171021:124647.242 completed 82% of database upgrade
13149:20171021:124647.312 completed 83% of database upgrade
13149:20171021:124647.381 completed 84% of database upgrade
13149:20171021:124647.531 completed 85% of database upgrade
13149:20171021:124647.577 completed 86% of database upgrade
13149:20171021:124647.648 completed 87% of database upgrade
13149:20171021:124647.703 completed 88% of database upgrade
13149:20171021:124648.853 completed 89% of database upgrade
13149:20171021:124649.475 completed 90% of database upgrade
13149:20171021:124650.590 completed 91% of database upgrade
13149:20171021:124650.593 completed 92% of database upgrade
13149:20171021:124650.598 completed 93% of database upgrade
13149:20171021:124650.616 completed 94% of database upgrade
13149:20171021:124650.621 completed 95% of database upgrade
13149:20171021:124650.623 completed 96% of database upgrade
13149:20171021:124650.629 completed 97% of database upgrade
13149:20171021:124650.636 completed 98% of database upgrade
13149:20171021:124650.693 completed 99% of database upgrade
13149:20171021:124650.772 completed 100% of database upgrade
13149:20171021:124650.772 database upgrade fully completed
13149:20171021:124651.008 server #0 started [main process]
13151:20171021:124651.009 server #1 started [configuration syncer #1]
13152:20171021:124651.009 server #2 started [ipmi manager #1]
13153:20171021:124651.009 server #3 started [alerter #1]
13154:20171021:124651.009 server #4 started [alerter #2]
13155:20171021:124651.010 server #5 started [alerter #3]
13156:20171021:124651.010 server #6 started [housekeeper #1]
13157:20171021:124651.010 server #7 started [timer #1]
13158:20171021:124651.010 server #8 started [http poller #1]
13159:20171021:124651.011 server #9 started [discoverer #1]
13160:20171021:124651.011 server #10 started [history syncer #1]
13161:20171021:124651.012 server #11 started [history syncer #2]
13162:20171021:124651.012 server #12 started [history syncer #3]
13163:20171021:124651.012 server #13 started [history syncer #4]
13164:20171021:124651.012 server #14 started [escalator #1]
13166:20171021:124651.013 server #16 started [ipmi poller #2]
13168:20171021:124651.014 server #18 started [java poller #1]
13169:20171021:124651.014 server #19 started [java poller #2]
13167:20171021:124651.016 server #17 started [ipmi poller #3]
13175:20171021:124651.017 server #25 started [vmware collector #3]
13173:20171021:124651.017 server #23 started [vmware collector #1]
13170:20171021:124651.017 server #20 started [java poller #3]
13176:20171021:124651.018 server #26 started [vmware collector #4]
13172:20171021:124651.019 server #22 started [self-monitoring #1]
13178:20171021:124651.019 server #27 started [vmware collector #5]
13174:20171021:124651.019 server #24 started [vmware collector #2]
13180:20171021:124651.019 server #28 started [task manager #1]
13171:20171021:124651.019 server #21 started [proxy poller #1]
13165:20171021:124651.020 server #15 started [ipmi poller #1]
13181:20171021:124651.020 server #29 started [poller #1]
13182:20171021:124651.021 server #30 started [poller #2]
13183:20171021:124651.022 server #31 started [poller #3]
13184:20171021:124651.023 server #32 started [poller #4]
13185:20171021:124651.023 server #33 started [poller #5]
13186:20171021:124651.023 server #34 started [unreachable poller #1]
13187:20171021:124651.024 server #35 started [trapper #1]
13190:20171021:124651.024 server #37 started [trapper #3]
13191:20171021:124651.024 server #38 started [trapper #4]
13194:20171021:124651.026 server #41 started [alert manager #1]
13195:20171021:124651.026 server #42 started [preprocessing manager #1]
13193:20171021:124651.026 server #40 started [icmp pinger #1]
13192:20171021:124651.026 server #39 started [trapper #5]
13189:20171021:124651.026 server #36 started [trapper #2]
13196:20171021:124651.122 server #43 started [preprocessing worker #1]
13197:20171021:124651.123 server #44 started [preprocessing worker #2]
13200:20171021:124651.124 server #45 started [preprocessing worker #3]



四、安装3.4WEB

1、复制WEB文件夹

1
2
cp -a frontends/php /var/www/zabbix
chown apache.apache /var/www/zabbix -R






运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-405787-1-1.html 上篇帖子: 使用Zabbix官方模板监控MySQL 下篇帖子: zabbix_agentd报zabbix_agentd dead but subsys locked的解决办法
累计签到:5 天
连续签到:1 天
发表于 2017-11-12 12:07:39 | 显示全部楼层
thanks for sharing..............

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表