I run FreeBSD/PostgreSQL and have upgraded Zabbix to latest 1.4.4 version.
As far as I can see, it works and gathers data from agents and can poll SNMP devices.
However, graphics don't work anymore on Zabbix. To make sure it isn't a webserver/PHP configuration problem on my end, I was able to create/run a test php script that uses GD to create a graphic.
I compared the difference between the successful graphic generated by GD PHP test script and the one that was generated by Zabbix.
I found the problem. There is an extra blank line that shows up in all content returned by Zabbix (Do a view page source on anything in Zabbix, including direct links to a generated chart graph). In the case of Zabbix graphics, there is an extra line before the PNG data is streamed. This causes the graphic error where the web browser cannot understand how to display the graphic.
The problem causing the blank line is somewhere inside include/config.inc.php and I have not been able to track it down yet. Please reply with which line(s) need to be changed so I can get the graphics working again.
Thank you.
As far as I can see, it works and gathers data from agents and can poll SNMP devices.
However, graphics don't work anymore on Zabbix. To make sure it isn't a webserver/PHP configuration problem on my end, I was able to create/run a test php script that uses GD to create a graphic.
I compared the difference between the successful graphic generated by GD PHP test script and the one that was generated by Zabbix.
I found the problem. There is an extra blank line that shows up in all content returned by Zabbix (Do a view page source on anything in Zabbix, including direct links to a generated chart graph). In the case of Zabbix graphics, there is an extra line before the PNG data is streamed. This causes the graphic error where the web browser cannot understand how to display the graphic.
The problem causing the blank line is somewhere inside include/config.inc.php and I have not been able to track it down yet. Please reply with which line(s) need to be changed so I can get the graphics working again.
Thank you.
Comment