Well waardd, I don't know what else to suggest, except to look at your PHP version.
Maybe try to cat one of the PNG-files. It may contain an error-message in stead of graphics data.
The 'name' attribute should be available in 1.8.x as well, but perhaps the way we select the attributes are not supported in 1.8?
You could try to change this:
to this:
Should be line 58, I believe.
Possibly comment out the logout-part of index.php once again.
Things will get a lot better when you upgrade!
Maybe try to cat one of the PNG-files. It may contain an error-message in stead of graphics data.
The 'name' attribute should be available in 1.8.x as well, but perhaps the way we select the attributes are not supported in 1.8?
You could try to change this:
Code:
$hostGraphs = ZabbixAPI::fetch_array('graph','get',array('output'=>array('graphid','name'),'hostids'=>$hostid))
or die('Unable to get graphs: '.print_r(ZabbixAPI::getLastError(),true));
Code:
$hostGraphs = ZabbixAPI::fetch_array('graph','get',array('output'=>'extend','hostids'=>$hostid))
or die('Unable to get graphs: '.print_r(ZabbixAPI::getLastError(),true));
Possibly comment out the logout-part of index.php once again.
Things will get a lot better when you upgrade!
Comment