User:Daveh/Zabbix Upgrade
The UESPWiki – Your source for The Elder Scrolls since 1995
Notes on upgrading Zabbix from 1.8 to 2.4.
-
- Backup all existing Zabbix files (on server and clients)
-
- Database
- Configuration
- Web files
- Binaries
- init.d script
- Install Zabbix server on content3
-
- Install packages:
rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm yum install zabbix yum install zabbix-agent yum install zabbix-get yum install zabbix-server-mysql yum install zabbix-web-mysql
-
-
- Upgrade database (download 2.4.6 Zabbix source)
-
mysql -u user -p zabbix < dbpatches/2.0/mysql/patch.sql
-
- Install Zabbix agents on all Servers
-
- Install packages:
rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm yum install zabbix yum install zabbix-agent yum install zabbix-get
-
- Modify init.d scripts
-
- Stop old zabbix agent
- Remove old scripts (zabbix_agentd, zabbix_server)
- Set new scripts to run on reboot:
chkconfig --level 345 zabbix-server on chkconfig --level 345 zabbix-agent on
-
- Edit config to set proper PID file (uncomment the line # PidFile = ....).