本帖最后由 枫狐狸 于 2016-10-14 14:02 编辑
graphtrees官网新最版本说明支持到zabbix3.0.4,但其9月2日更新说明已改成独立目录,支持zabbix前端升级,因此这个版本仍可支持zabbix3.2.1
下载地址:
https://github.com/OneOaaS/graphtrees
安装说明:
cd /var/www/html/zabbix #此处为zabbix网站目录,就是web文件目录
ZBXVERSION=3.0.4 #因为支持3.2.1,所以此外仍为3.0.4
wget https://raw.githubusercontent.com/OneOaaS/graphtrees/master/graphtree${ZBXVERSION}.patch #下载安装包
yum install -y patch #更新补丁
patch -Np0 <graphtree${ZBXVERSION}.patch #安装文件
chown -R apache:apache oneoaas #如果用的httpd,此处为chown -R apache:apache oneoaas,nginx的为chown -R nginx:nginx oneoaas
安装完成后重启httpd服务即可。
以下是官网的安装说明
1.if you have not installed zabbix web wget http://sourceforge.net/projects/ ... bix-3.0.4.tar.gztar xf zabbix-3.0.4.tar.gzcd frontends/phpZBXVERSION=3.0.4wget https://raw.githubusercontent.co ... es/master/graphtree${ZBXVERSION}.patch#yum install -y patchpatch -Np0 <graphtree${ZBXVERSION}.patchchown -R ${WEB_USER} oneoaascd ../mv php /usr/share/zabbix (Web root should be /usr/share/zabbix)#注意此处的权限,必须和nginx或者apache的用户一致,如用的是apache,则此处为chown -R apache:apache oneoaas/
2.If you have already installed zabbix web RPM repo #从未使用过3.0.1的patch cd /usr/share/zabbixZBXVERSION=3.0.4#Update it sometimes.wget https://raw.githubusercontent.co ... es/master/graphtree${ZBXVERSION}.patchyum install -y patchpatch -Np0 <graphtree${ZBXVERSION}.patchchown -R ${WEB_USER} oneoaas#注意此处的权限,必须和nginx或者apache的用户一致,如用的是apache,则此处为chown -R apache:apache oneoaas/
|