Pandora FMS Community

Multiple custom graphs on a custom report

TurricanII · 14 mar 2008, 18:34 · 4 mensajes · 49 visitas

  1. Inicio del debate

    Hi again, I have two separate custom graphs, CPU (with two CPU's on the graph) and disk space (with two drives on the graph). If I add both of these to a custom report, the first graph on the repor, CPU, appears fine with teo elements on it CPU0 and CPU1. The second graph however has all four elements on one graph, i.e. CPU0 CPU1 FreeDiskC and FreeDiskD. The second graph should only have the two FreeDisk elements on it.. Any help still much appreciated!

  2. Hi again, I have two separate custom graphs, CPU (with two CPU's on the graph) and disk space (with two drives on the graph). If I add both of these to a custom report, the first graph on the repor, CPU, appears fine with teo elements on it CPU0 and CPU1. The second graph however has all four elements on one graph, i.e. CPU0 CPU1 FreeDiskC and FreeDiskD. The second graph should only have the two FreeDisk elements on it.. Any help still much appreciated!

    Wow. This is a new bug in 1.3.1. I think it's easy to fix, so let us some time to fix. Thanks for reporting !

  3. Hi again, I have two separate custom graphs, CPU (with two CPU's on the graph) and disk space (with two drives on the graph). If I add both of these to a custom report, the first graph on the repor, CPU, appears fine with teo elements on it CPU0 and CPU1. The second graph however has all four elements on one graph, i.e. CPU0 CPU1 FreeDiskC and FreeDiskD. The second graph should only have the two FreeDisk elements on it.. Any help still much appreciated!

    Fixed!, was very easy. I'll commit changes now, but if you want to fix problem yourself: Serach for that line in /pandora_console/operation/reporting/reporting_viewer.php file case 1: // Custom/Combined graph And add following code just below that line: // Clean variables because could have data if // more than one combined graph in a report. // Bug reported by TurricanII in openideas forums if (isset($modules)){ unset($modules); } if (isset($weights)){ unset($weights); }

  4. Was just running into this problem myself. This worked perfectly Thank you! -D

Entra en tu cuenta para publicar.