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 Some Images not generated/displayed

  • Some Images not generated/displayed

    Posted by tegulizard13 on July 23, 2009 at 09:38

    Some of the images are not being generated / displayed correctly on my installation of PandoraFMS.
    The images not being shown are:
    Under the general information for an agent, the “Agent access rate (24h)” and “Events generated -by module-” images are not generated / shown. links for these are fgraph.php?id=6&tipo=agentaccess&periodo=1440&height=70&width=280 and fgraph.php?tipo=event_module&width=250&height=180&id_agent=6 .
    Also at the Display of last data modules received by agent page for an agent, when we click to view graphs of data (there is data to be graphed) no graph is shown in the popup window.

    Thanks for your help!

    Sancho replied 15 years, 7 months ago 2 Members · 4 Replies
  • 4 Replies
  • tegulizard13

    Member
    July 27, 2009 at 10:53
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    What I Have figured out:
    After logging my errors and fixing the loading in of Image/Graph.php, the error generated is:

    [27-Jul-2009 10:43:18] PHP Fatal error:  Call to undefined method Image_Graph_Element::Image_Graph_Element() in /eps/products/opensource/php/5.3.0/lib/php/Image/Graph.php on line 136

    line 136 is “parent::Image_Graph_Element();”
    which calls Image_Graph_Element() from Image/Graph/Element.php.

    The problem here is that the function called does not exist in Element.php.

    Any ideas?
    Thank you.

  • tegulizard13

    Member
    July 27, 2009 at 13:51
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    After commenting out line 136 those images still do not graph, but I also get no error. I know that commenting out this line does not effect operation. I commented out the same line in the virtual machine and graphs are still displayed.

  • tegulizard13

    Member
    July 28, 2009 at 12:20
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Still doing more research, it’s nice to know there are other people besides me active on these forums. I have looked into the function generic_pie_graph(). fgraph.php is pulling correct information from the database to give to this function, but even when i give generic_pie_graph a reasonable argument (that works in the virtual machine) I still do not get a graph.
    I feel it may be a problem with my version of PHP (running 5.3.0), I may try and recompile php again with more careful checks to verify that I have everything installed that needs to be there. I still find it strange that I cannot produce any sort of error messages or logs for this issue though.
    Does anyone have any good ideas?

  • Sancho

    Administrator
    July 30, 2009 at 05:06
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    I doubt this could be a problem with your PHP version. What version of Pandora are you using ?.

    Do you have data in this agent ?. This graph has been altered in current development version and could be disabled for performance, but I suppose you’re working with 2.x release of Pandora, isn’t ?.