Pandora FMS Community

Some Images not generated/displayed

tegulizard13 · 23 jul 2009, 9:38 · 5 mensajes · 59 visitas

  1. Inicio del debate

    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!

  2. 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.

  3. 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.

  4. 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?

  5. 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 ?.

Entra en tu cuenta para publicar.