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!
Custom graph scaling/factor
TurricanII · 8 mar 2008, 15:30 · 6 mensajes · 81 visitas
- Inicio del debate
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.bz2 You also wants to read about the small process of migration from 1.3 to 1.3.1 (one easy step). (Link not available anymore)
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.
Thanks very much for the info - the graphs are great now :D
Entra en tu cuenta para publicar.
