SpawW / zabbix-extras

Zabbix Extras - Patchs e extensões para o Zabbix
http://www.spinola.net.br/blog
35 stars 9 forks source link

problem on zabbix 2.4.4 #5

Open Boran opened 9 years ago

Boran commented 9 years ago

Hi,

I gave your tools aspin, cloned this repo and ran instalaExtras.sh, it ran though the installation fine, the zabbix path was set to /usr/local/share/zabbix-frontend . A link was created to allow it to fidn the web config: mkdir -p /usr/share/zabbix/conf/ ln -s /etc/zabbix/zabbix.conf.php /usr/share/zabbix/conf/zabbix.conf.php

However, the "extras" menu item, while visible, does not work.

Capactity & trends, Event management: [Wed Apr 01 13:21:46 2015] [error] [client 10.90.199.67] PHP Fatal error: Call to undefined function get_request() in /usr/local/share/zabbix-frontend_2.4.4/zbxe-em.php on line 35, referer: http://myserver/zabbix/zbxe-cat.php?ddreset=1&sid=52ad91c16be1d04c

Not supported items: PHP Parse error: syntax error, unexpected '{' in /usr/local/share/zabbix-frontend_2.4.4/include/validate.inc.php(105) : eval()'d code on line 1, referer: http://myserverzabbix/zbxe-cat.php?ddreset=1&sid=52ad91c16be1d04c

Some documentation in english would be nice too.

SpawW commented 9 years ago

What O.S. and Database ? Install from sources or using packages ? The both urls ("http://myserver" and "http://myserverzabbi" are accessible from zabbix server / frontend shell ?

matt0x6F commented 9 years ago

Yeap, I'm having the exact same issue. I'm using Zabbix 2.4.5, Ubuntu 14.04 LTS and yes to both your URL questions. It's been installed from a package which is from the Zabbix repo.

marcefr commented 8 years ago

Same error here, zabbix 2.4.8, centos 6.8 fully updated:

[Fri Sep 02 22:56:35 2016] [error] [client 192.168.2.210] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/zbxe-cat.php on line 80, referer: http://site.dom/zabbix/zbxe-cat.php?ddreset=1&sid=1654014048aa15ee [Fri Sep 02 22:56:53 2016] [error] [client 192.168.2.210] PHP Parse error: syntax error, unexpected $end in /usr/share/zabbix/extras/geo/grupo.php on line 363, referer: http://site.dom/zabbix/extras/geo/index.php