Jllin

Zabbix3.2升级至3.4
1 zabbix升级(3.2 to 3.4)1.1 zabbixserver(centos7)#建议备份目录及文件...
扫描右侧二维码阅读全文
14
2018/10

Zabbix3.2升级至3.4

1 zabbix升级(3.2 to 3.4)

1.1 zabbixserver(centos7)

#建议备份目录及文件:/etc/zabbix;/usr/share/zabbix/;/usr/share/doc/zabbix-*;/etc/httpd/conf.d/zabbix.conf

systemctl stop zabbix-server

rpm -i http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm
yum update -y zabbix*
yum update -y http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-2.el7.noarch.rpm
yum update -y zabbix*
syste mctl start zabbix-server

1.2 zabbixproxy(centos6)

rpm -i http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/zabbix-release-3.2-1.el6.noarch.rpm
yum update http://repo.zabbix.com/zabbix/3.4/rhel/6/x86_64/zabbix-release-3.4-1.el6.noarch.rpm
/etc/init.d/zabbix-proxy stop
yum update zabbix-agent.x86_64
yum update zabbix-proxy-mysql.x86_64
yum update zabbix-get.x86_64
/etc/init.d/zabbix-proxy start
  

删除20-nproc.conf
rm -f /etc/security/limits.d/20-nproc.conf
  

vi /etc/security/limits.conf
* soft nofile 655350
* hard nofile 655350
* soft nproc 655350
* hard nproc 655350
* soft memlock unlimited
* hard memlock unlimited
  

vi /etc/systemd/user.conf 和/etc/systemd/system.conf
DefaultLimitCORE=infinity
DefaultLimitNOFILE=1024000
DefaultLimitNPROC=1024000
DefaultLimitMEMLOCK=infinity

参考:

https://www.zabbix.com/forum/showthread.php?t=58917

Last modification:October 15th, 2018 at 01:52 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment