Ok. I will test this
Ad Widget
Collapse
Upgrade Zabbix 2.2
Collapse
X
-
I repeat my procedure, tell me if I'm wrong :
Code:tar -zxvf zabbix-2.2.0.tar.gz
Code:./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2
Code:make install
That's it. And the interface still in 2.0Code:mkdir /srv/www/htdocs/zabbix cd frontends/php cp -a . /srv/www/htdocs/zabbix
Comment
-
I made a copy of my "vm" before the "installation"
now, srv / www / htdocs is empty and I didn't change /usr/share/zabbix
I did exactly your command except (rm -rf /usr/share/zabbix
mv /usr/share/zabbix.old /usr/share/zabbix) and my procedure after.
./configure is GOOD (at the end it tell me run "make install")
make install is good with no error
I create directory zabbix
copy the files from frontend/php
I'm completely lost beaucause when I tap http://<server_ip_or_name>/zabbix it's directly the dashboard
Anyway, I thank you for your patience and support !!!!!!!!Last edited by thomphi; 21-02-2014, 17:32.Comment
-
thomphi, let's do some investigation.
(all my examples are from real productive Zabbix Server under CentOS)
1) check what service you use - httpd? nginx?
2) then check configuration of httpd for the directory of Zabbix frontendCode:[B]# netstat -anp | grep ":80"[/B] .... tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1867/httpd ....
Now you know where is the root directory for Zabbix frontendCode:[B]# grep -i -r zabbix /etc/httpd/conf*[/B] /etc/httpd/conf.d/zabbix.conf:# Zabbix monitoring system php web frontend /etc/httpd/conf.d/zabbix.conf:Alias /zabbix /usr/share/zabbix
3) CHeck the Zabbix Version
Could you post your results of this investigation process?Code:[B]# grep -r "VERSION" include/defines.inc.php[/B] define('ZABBIX_VERSION', '2.2.2'); define('ZABBIX_API_VERSION', '2.2.2'); define('ZABBIX_DB_VERSION', 2020000);Sincerely yours,
AlekseyComment
-
The current version of the frontend is defined in /usr/share/zabbix/include/defines.inc.php as
If you still have "2.0" displayed you have definetely the old frontend files in place.Code:define('ZABBIX_VERSION', '2.2.2');Comment
-
Hi Aib & steveboyson,
1) Httpd, like you.
2) grep -i -r zabbix /etc/httpd/conf* : No such file or directory
3) grep -r "VERSION" include/defines.inc.php (in /usr/share/zabbix)
define('ZABBIX_VERSION', '2.0.0');
define('ZABBIX_API_VERSION', '1.4 ');
grep -r "VERSION" include/defines.inc.php (in /srv/www/htdocs/zabbix)
define('ZABBIX_VERSION', '2.2.2');
define('ZABBIX_API_VERSION', '2.2.2');
thank's !Comment

Comment