Pandora FMS Community

No Graphics and no error messages

gusmat · 11 mar 2008, 17:41 · 6 mensajes · 66 visitas

  1. Inicio del debate

    Hello, I'm using pandora 1.3 with slackware. No graphic is showing and when I open image in a separated browser window no error appears, just blank. No error on apache, syslog, messages, mysql or pandora logs. I have configured just one agent, data is being retrieved but it keeps saying that the agent is down. Going into agent detail I can see: Last contact / Remote: 2008-03-11 10:22:13 / 2008-03-11 13:22:02 Next Agent Contact: Out of Limits At the Data page of the agent, when I click on the ReceivedPackages for example an pop-up window opens and show: Max. Value : 1,905.83 M Avg. Value : 1,904.21 M Min. Value : 1,903.43 M With no graphic. All pandora servers are running with user pandora and no error appears on the startup. The agent can SSH to the servers with no problem. PHP GD support is correct, on the same server I have cacti running correctly. I hope you guys can help me, I'm out of ideas :) Thanks, Gustavo

  2. What's your config_dir in pandora_console/include/config.php?

  3. No $config_dir I have: $config_homedir="/usr/local/apache2/htdocs/pandora/"; $config_fontpath = $config_homedir."/reporting/FreeSans.ttf"; $config_style = "pandora";

  4. Sorry, I meant that Is the config_homedir set to the path to the pandora_console? Is pandora_console in /usr/local/apache2/htdocs/pandora/ ?

  5. No $config_dir I have: $config_homedir="/usr/local/apache2/htdocs/pandora/"; $config_fontpath = $config_homedir."/reporting/FreeSans.ttf"; $config_style = "pandora";

    Activate LOG trace, and add error_reporting(E_ALL); To your config.php Probably you have some problems with Image::Graph. This is included in /reporting directory, but if you cannot see anything (including progress bar) could be another problem like permissions. The most useful thing when you have any problem is to activate syslog error reporting in php.ini and activate all error traces. Add this tokens to your php.ini error_log = syslog error_reporting = E_ALL & ~E_NOTICE Also don't forget to check owner/permission all pandora files, in some files with safe PHP mode.

  6. :) the error appeared enabling log in php.ini Call to undefined function ImageTTFText() compiled with --with-freetype and xmp did the trick Thanks for your help

Entra en tu cuenta para publicar.