Ignore:
Timestamp:
03/25/13 21:41:14 (9 years ago)
Author:
ramonb
Message:

job_monarch/libtoga.php:

  • why call Ganglia's get_ganglia.php Gmetad() if we are already parsing ourself
  • now create $metrics ourself while TorqueXMLHandler.parseXML() runs
  • more speedup...

job_monarch/host_view.php,
job_monarch/graph.php:

  • dont need job information, so no DataGatherer?: call get_ganglia.php now for $metrics
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4/web/addons/job_monarch/graph.php

    r739 r751  
    2323 */
    2424
    25 global $metrics, $rrds, $range, $start, $r, $conf, $m;
     25global $rrds, $range, $start, $r, $conf, $m;
    2626$range = $r;
    2727
    2828include "./libtoga.php";
     29
     30$my_dir = getcwd();
     31
     32global $context;
     33
     34$context = 'cluster';
     35
     36chdir( $GANGLIA_PATH );
     37
     38include "./ganglia.php";
     39include "./get_ganglia.php";
     40
     41chdir( $my_dir );
    2942
    3043if ( !empty( $_GET ) )
Note: See TracChangeset for help on using the changeset viewer.