Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support No Graphics and no error messages

  • No Graphics and no error messages

    Posted by gusmat on March 11, 2008 at 17:41

    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

    gusmat replied 16 years, 11 months ago 3 Members · 5 Replies
  • 5 Replies
  • manu

    Member
    March 11, 2008 at 17:57
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

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

  • gusmat

    Member
    March 11, 2008 at 18:18
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    No $config_dir

    I have:
    $config_homedir=”/usr/local/apache2/htdocs/pandora/”;
    $config_fontpath = $config_homedir.”/reporting/FreeSans.ttf”;
    $config_style = “pandora”;

  • manu

    Member
    March 11, 2008 at 19:03
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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/ ?

  • Sancho

    Administrator
    March 11, 2008 at 19:08
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

  • gusmat

    Member
    March 11, 2008 at 23:24
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    🙂

    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