[ZBX-929] PHP Frontend bug in dashboard Created: 2009 May 29 Updated: 2017 May 30 Resolved: 2009 Jun 05 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.6 |
Fix Version/s: | 1.6 |
Type: | Incident report | Priority: | Major |
Reporter: | Sven Goldt | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Solaris |
Attachments: |
![]() |
Description |
The dashboard claims that the Zabbix Server is not running which is wrong. 1. fsockopen returns FALSE on error so please compare with FALSE in config.inc.php: 2. in blocks.inc.php So it is "on" if Status is S_YES, not "off". So far this only fixes the color of the Zabbix Server Status, but the text is still "no" for unknown reasons. ZABBIX server is running No - |
Comments |
Comment by Alexei Vladishev [ 2009 Jun 05 ] |
Thanks for reporting this. We will take a look soon. |
Comment by Artem Suharev (Inactive) [ 2009 Jun 05 ] |
Nothing to fix. |
Comment by Sven Goldt [ 2009 Jun 05 ] |
Nothing to fix ? I gave you a partial fix but even that you can't do ? |
Comment by Sven Goldt [ 2009 Jun 05 ] |
With the partial fix the color of "No" just changed from red to green. |
Comment by Artem Suharev (Inactive) [ 2009 Jun 09 ] |
If you would done more research you would notice that 'on' and 'off' is a CSS classes, which represent green coloring for off and red for on. So when server is running we use class 'off' which is for green!!! BTW: You haven't mentioned zbx version... so I assume that your zbx server and frontend are located on the separate servers. |
Comment by Sven Goldt [ 2009 Jun 09 ] |
Well, i haven't mentioned the version because it is given already in "Affects Version/s" at the top of the page. Do you see "ZABBIX server is running Yes -" on your dashboard screen ? |
Comment by Artem Suharev (Inactive) [ 2009 Jun 09 ] |
Well there are 4 releases by now in 1.6 branch.. and sources are different. Yes, I do see it up and running. If server and frontend on the same server, then check if php is compiled with sockets support. |
Comment by Sven Goldt [ 2009 Jun 09 ] |
Registered Stream Socket Transports: tcp, udp, unix, udg, ssl, sslv3, sslv2, tls The Version is the latest but i guess 1.6.1 - 1.6.4 would all show "No". |
Comment by Artem Suharev (Inactive) [ 2009 Jun 09 ] |
No, you must find module sockets, and it must be enabled. |
Comment by Sven Goldt [ 2009 Jun 10 ] |
I recompiled php and explicitely added "--enable-sockets" but nothing changed. |
Comment by Artem Suharev (Inactive) [ 2009 Jun 10 ] |
In zabbix.conf.php those two variables must be defined: $ZBX_SERVER = "your.zabbix.server.ip"; Check this. |
Comment by Sven Goldt [ 2009 Jun 10 ] |
Great. That did it ! Thanks, |
Comment by Artem Suharev (Inactive) [ 2009 Jun 10 ] |
Glad to hear that! I hope that you do understand that it is a onetime support. Next time, before posting please try to search for your problem on our forum ( http://www.zabbix.com/forum/index.php ). |
Comment by Igor Danoshaites (Inactive) [ 2009 Jun 16 ] |
Hi! |