-
Type:
Patch request
-
Resolution: Commercial support required
-
Priority:
Major
-
None
-
Affects Version/s: 3.4.4
-
Component/s: Frontend (F)
-
Environment:Debian 8, zabbix installed with deb package version `1:3.4.4-2+jessie`, apache version 2.4.10-10+deb8u11, php version `5.6.30+dfsg-0+deb8u1`
Steps to reproduce:
- Run a fresh zabbix installation
- Login and navigate to any page (like dashboard)
Result:
An orange bottom banner says "Zabbix server is not running: the information displayed may not be current.", but the server is actually running
Cause
There is an omitted $ for ZBX_SOCKET_TIMEOUT variable in jsrpc.php (line 174 in trunk)
https://www.zabbix.org/websvn/wsvn/zabbix.com/trunk/frontends/php/jsrpc.php?rev=73149&peg=73149
$zabbixServer = new CZabbixServer($ZBX_SERVER, $ZBX_SERVER_PORT, ZBX_SOCKET_TIMEOUT, 0);