快速编译安装Zabbix3.2监控服务端
注:本文主要适用于zabbix的升级,并不是全新安装
成都创新互联公司主要从事成都网站设计、成都网站建设、网页设计、企业做网站、公司建网站等业务。立足成都服务涟源,十载网站建设经验,价格优惠、服务专业,欢迎来电咨询建站服务:028-86922220
1、下载对应的软件包
wget https://nchc.dl.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/3.2.6/zabbix-3.2.6.tar.gz
2、解压操作
tar xf zabbix-3.2.6.tar.gz
3、创建用户
groupadd zabbix useradd -g zabbix zabbix
4、创建zabbix数据库
因为主要是升级,数据库已经建好了。
5、编译源文件
cd zabbix-3.2.6 ./configure \ --prefix=/usr/local/zabbix \ --sysconfdir=/etc/zabbix \ --enable-server \ --enable-agent \ --with-MySQL \ --with-net-snmp \ --with-libcurl make make install
6、编辑配置文件
基本没用什么需要修改的,配置好数据库账号密码信息即可。
/etc/zabbix/zabbix_server.conf
7、启动服务
service zabbix_server start
8、升级监测
升级过程中查看一下服务端的日志,看看升级过程中是否有什么异常。
16339:20170629:133011.747 Starting Zabbix Server. Zabbix 3.2.6 (revision 67849). 16339:20170629:133011.747 ****** Enabled features ****** 16339:20170629:133011.747 SNMP monitoring: YES 16339:20170629:133011.747 IPMI monitoring: NO 16339:20170629:133011.747 Web monitoring: YES 16339:20170629:133011.747 VMware monitoring: NO 16339:20170629:133011.747 SMTP authentication: NO 16339:20170629:133011.747 Jabber notifications: NO 16339:20170629:133011.747 Ez Texting notifications: YES 16339:20170629:133011.747 ODBC: NO 16339:20170629:133011.748 SSH2 support: NO 16339:20170629:133011.748 IPv6 support: NO 16339:20170629:133011.748 TLS support: NO 16339:20170629:133011.748 ****************************** 16339:20170629:133011.748 using configuration file: /etc/zabbix/zabbix_server.conf 16339:20170629:133011.758 current database version (mandatory/optional): 02040000/02040000 16339:20170629:133011.758 required mandatory version: 03020000 16339:20170629:133011.758 starting automatic database upgrade 16339:20170629:133011.814 completed 0% of database upgrade 16339:20170629:133011.843 completed 1% of database upgrade 16339:20170629:133012.276 completed 2% of database upgrade 16339:20170629:133012.979 completed 3% of database upgrade 16339:20170629:133013.904 completed 4% of database upgrade 16339:20170629:133014.598 completed 5% of database upgrade 16339:20170629:133014.980 completed 6% of database upgrade 16339:20170629:133015.054 completed 7% of database upgrade 16339:20170629:133015.090 completed 8% of database upgrade 16339:20170629:133015.571 completed 9% of database upgrade 16339:20170629:133015.805 completed 10% of database upgrade 16339:20170629:133016.266 completed 11% of database upgrade 16339:20170629:133016.433 completed 12% of database upgrade 16339:20170629:133016.898 completed 13% of database upgrade 16339:20170629:133017.403 completed 14% of database upgrade 16339:20170629:133017.739 completed 15% of database upgrade 16339:20170629:133018.229 completed 16% of database upgrade 16339:20170629:133018.579 completed 17% of database upgrade 16339:20170629:133019.034 completed 18% of database upgrade 16339:20170629:133019.510 completed 19% of database upgrade 16339:20170629:133019.801 completed 20% of database upgrade 16339:20170629:133020.342 completed 21% of database upgrade 16339:20170629:133020.649 completed 22% of database upgrade 16339:20170629:133020.714 completed 23% of database upgrade 16339:20170629:133020.795 completed 24% of database upgrade 16339:20170629:133020.881 completed 25% of database upgrade 16339:20170629:133021.171 completed 26% of database upgrade 16339:20170629:133021.531 completed 27% of database upgrade 16339:20170629:133022.301 completed 28% of database upgrade 16339:20170629:133023.003 completed 29% of database upgrade 16339:20170629:133023.336 completed 30% of database upgrade 16339:20170629:133023.818 completed 31% of database upgrade 16339:20170629:133023.989 completed 32% of database upgrade 16339:20170629:133024.229 completed 33% of database upgrade 16339:20170629:133024.529 completed 34% of database upgrade 16339:20170629:133024.852 completed 35% of database upgrade 16339:20170629:133025.490 completed 36% of database upgrade 16339:20170629:133025.809 completed 37% of database upgrade 16339:20170629:133026.246 completed 38% of database upgrade 16339:20170629:133026.581 completed 39% of database upgrade 16339:20170629:133026.799 completed 40% of database upgrade 16339:20170629:133027.050 completed 41% of database upgrade 16339:20170629:133027.088 completed 42% of database upgrade 16339:20170629:133027.324 completed 43% of database upgrade 16339:20170629:133027.837 completed 44% of database upgrade 16339:20170629:133028.152 completed 45% of database upgrade 16339:20170629:133028.589 completed 46% of database upgrade 16339:20170629:133028.908 completed 47% of database upgrade 16339:20170629:133029.333 completed 48% of database upgrade 16339:20170629:133029.572 completed 49% of database upgrade 16339:20170629:133029.801 completed 50% of database upgrade 16339:20170629:133030.047 completed 51% of database upgrade 16339:20170629:133030.552 completed 52% of database upgrade 16339:20170629:133030.872 completed 53% of database upgrade 16339:20170629:133031.320 completed 54% of database upgrade 16339:20170629:133031.640 completed 55% of database upgrade 16339:20170629:133032.076 completed 56% of database upgrade 16339:20170629:133032.112 completed 57% of database upgrade 16339:20170629:133032.148 completed 58% of database upgrade 16339:20170629:133032.591 completed 59% of database upgrade 16339:20170629:133032.860 completed 60% of database upgrade 16339:20170629:133033.602 completed 61% of database upgrade 16339:20170629:133034.252 completed 62% of database upgrade 16339:20170629:133034.694 completed 63% of database upgrade 16339:20170629:133035.014 completed 64% of database upgrade 16339:20170629:133035.450 completed 65% of database upgrade 16339:20170629:133035.806 completed 66% of database upgrade 16339:20170629:133036.222 completed 67% of database upgrade 16339:20170629:133036.541 completed 68% of database upgrade 16339:20170629:133036.982 completed 69% of database upgrade 16339:20170629:133039.839 completed 70% of database upgrade 16339:20170629:133040.088 completed 71% of database upgrade 16339:20170629:133040.089 Action "Web Monitor" will be disabled during database upgrade: conditions might have matched success event which is not supported anymore. 16339:20170629:133040.090 Action "adscan_count" will be disabled during database upgrade: conditions might have matched success event which is not supported anymore. 16339:20170629:133040.090 Action "host_alive" will be disabled during database upgrade: conditions might have matched success event which is not supported anymore. 16339:20170629:133040.345 completed 72% of database upgrade 16339:20170629:133040.346 Action "Report problems to Zabbix administrators" condition "Trigger value = PROBLEM" will be removed during database upgrade: this type of cond ition is not supported anymore 16339:20170629:133040.347 Action "weixin_trigger" condition "Trigger value = PROBLEM" will be removed during database upgrade: this type of condition is not supported any more 16339:20170629:133041.050 completed 73% of database upgrade 16339:20170629:133041.868 completed 74% of database upgrade 16339:20170629:133042.391 completed 75% of database upgrade 16339:20170629:133042.963 completed 76% of database upgrade 16339:20170629:133043.550 completed 77% of database upgrade 16339:20170629:133043.858 completed 78% of database upgrade 16339:20170629:133044.299 completed 79% of database upgrade 16339:20170629:133044.315 completed 80% of database upgrade 16339:20170629:133044.714 completed 81% of database upgrade 16339:20170629:133049.684 completed 82% of database upgrade 16339:20170629:133055.038 completed 83% of database upgrade 16339:20170629:133055.398 completed 84% of database upgrade 16339:20170629:133055.743 completed 85% of database upgrade 16339:20170629:133056.142 completed 86% of database upgrade 16339:20170629:133056.441 completed 87% of database upgrade 16339:20170629:133056.776 completed 88% of database upgrade 16339:20170629:133057.188 completed 89% of database upgrade 16339:20170629:133057.296 completed 90% of database upgrade 16339:20170629:133057.588 completed 91% of database upgrade 16339:20170629:133057.884 completed 92% of database upgrade 16339:20170629:133058.300 completed 93% of database upgrade 16339:20170629:133058.445 completed 94% of database upgrade 16339:20170629:133058.749 completed 95% of database upgrade 16339:20170629:133059.540 completed 96% of database upgrade 16339:20170629:133102.382 completed 97% of database upgrade 16339:20170629:133102.621 completed 98% of database upgrade 16339:20170629:133102.939 completed 99% of database upgrade 16339:20170629:133102.955 completed 100% of database upgrade 16339:20170629:133102.955 database upgrade fully completed
分享题目:快速编译安装Zabbix3.2监控服务端
网站链接:http://pwwzsj.com/article/pghcjj.html