Welcome to Pandora FMS Community › Forums › Community support › Custom graph scaling/factor
-
Custom graph scaling/factor
Posted by TurricanII on March 8, 2008 at 15:30Hi, whenever I add two CPU values to a custom graph, each with a factor of 1, the custom graph show one of the CPU factors has been changed to x1.3 or similar. I want to compare WITHOUT changing the factor – can this be done? Thanks!
TurricanII replied 16 years, 11 months ago 2 Members · 5 Replies -
5 Replies
-
::
Hi, whenever I add two CPU values to a custom graph, each with a factor of 1, the custom graph show one of the CPU factors has been changed to x1.3 or similar. I want to compare WITHOUT changing the factor – can this be done? Thanks!
This is a bug in 1.3 version, please download latest version (1.3.1).
http://artica.homelinux.com/pandora_tarball/1.3.x/pandora_agents_1.3.x_2008_03_10.tar.bz2
http://artica.homelinux.com/pandora_tarball/1.3.x/pandora_server_1.3.x_2008_03_10.tar.bz2
http://artica.homelinux.com/pandora_tarball/1.3.x/pandora_console_1.3.x_2008_03_10.tar.bz2You also wants to read about the small process of migration from 1.3 to 1.3.1 (one easy step).
http://openideas.info/wiki/index.php?title=Pandora_1.3:Documentation_en:1.3_to_1.3.1
-
::
Hi,
I updated to 1.3.1 but still have a problem. When I create a custom graph with one item (a temperature sensor around 40 degrees) the graph is fine. If I add a second value to the custom graph (another sensor around 25 degrees), the second item appears fine but the graph scale changes such that the first value appears to be around 70 instead of 40… I would like to build reports with graphs for C: D: and E: disk space, or five temperature sensors on one custom graph with a true scale. Any more suggestions would be greatly appreciated! Thanks.
-
::
Hi,
I updated to 1.3.1 but still have a problem. When I create a custom graph with one item (a temperature sensor around 40 degrees) the graph is fine. If I add a second value to the custom graph (another sensor around 25 degrees), the second item appears fine but the graph scale changes such that the first value appears to be around 70 instead of 40… I would like to build reports with graphs for C: D: and E: disk space, or five temperature sensors on one custom graph with a true scale. Any more suggestions would be greatly appreciated! Thanks.
Yep. I have check it now, and you’re right. Seems to be a problem in legend. Graphics are well-scaled, but legend shows bad value. I’ll patch it asap and update code for 1.3.1-dev version.
I post here a message when its done. THanks for reporting.
-
::
Oops, it’s not a bug, it’s a feature :-)))
Code that is currently on SVN has the future feature “stacked mode” activated. That is not supposed to be activated until next version but I left activated by error.
I am goint to commit a fixed version, using the “classic” mode that overlaps graphics, not stack them.
If you want to change by yourself you only need to change two lines of code:
edit reporting/fgraph.php
Go to line 315
Uncomment that line:
$Plot =& $Plotarea->addNew(‘area’, array(&$dataset));
And comment (place // in line start) on line (317):
// $Plot =& $Plotarea->addNew(‘Image_Graph_Plot_Area’, array(&$dataset, ‘stacked’));
Hi,
I updated to 1.3.1 but still have a problem. When I create a custom graph with one item (a temperature sensor around 40 degrees) the graph is fine. If I add a second value to the custom graph (another sensor around 25 degrees), the second item appears fine but the graph scale changes such that the first value appears to be around 70 instead of 40… I would like to build reports with graphs for C: D: and E: disk space, or five temperature sensors on one custom graph with a true scale. Any more suggestions would be greatly appreciated! Thanks.
Yep. I have check it now, and you’re right. Seems to be a problem in legend. Graphics are well-scaled, but legend shows bad value. I’ll patch it asap and update code for 1.3.1-dev version.
I post here a message when its done. THanks for reporting.
-