Changeset 412


Ignore:
Timestamp:
07/06/07 16:36:09 (14 years ago)
Author:
bastiaans
Message:

web/addons/job_monarch/host_view.php:

  • bugfixes to graph display new style
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/host_view.php

    r411 r412  
    7474        $rrdirs = $trd->getRrdDirs( $period_start, $period_stop );
    7575
     76        $longtitle = "Batch Archive Node Report :: Powered by Job Monarch!";
     77        $title = "Batch Archive Node Report";
     78
     79        makeHeader( 'host_view', $title, $longtitle );
     80
    7681        $metrics = $metrics[$hostname];
    7782        $mymetrics = array();
    78 
    79         $longtitle = "Batch Archive Node Report :: Powered by Job Monarch!";
    80         $title = "Batch Archive Node Report";
    81 
    82         makeHeader( 'host_view', $title, $longtitle );
    8383
    8484        foreach( $rrdirs as $rrdir )
     
    122122        $cluster_url=rawurlencode($clustername);
    123123        $tpl->assign("cluster_url", $cluster_url);
    124         $tpl->assign("graphargs", "h=$hostname&$get_metric_string&st=$cluster[LOCALTIME]&job_start=$job_start&job_stop=$job_stop&period_start=$period_start&period_stop=$period_stop");
     124        //$tpl->assign("graphargs", "h=$hostname&$get_metric_string&st=$cluster[LOCALTIME]&job_start=$job_start&job_stop=$job_stop&period_start=$period_start&period_stop=$period_stop");
     125        $tpl->assign("graphargs", "h=$hostname&$get_metric_string&job_start=$job_start&job_stop=$job_stop&period_start=$period_start&period_stop=$period_stop");
    125126
    126127        # For the node view link.
     
    151152               else
    152153                  {
    153                      $graphargs = "c=$cluster_url&h=$hostname&v=$v[VAL]&m=$name"
    154                        ."&z=medium&st=$cluster[LOCALTIME]&job_start=$job_start&job_stop=$job_stop&period_start=$period_start&period_stop=$period_stop";
     154                     //$graphargs = "c=$cluster_url&h=$hostname&v=$v[VAL]&m=$name"
     155                     //  ."&z=medium&st=$cluster[LOCALTIME]&job_start=$job_start&job_stop=$job_stop&period_start=$period_start&period_stop=$period_stop";
     156                     $graphargs = "c=$cluster_url&h=$hostname&m=$name"
     157                       ."&z=medium&job_start=$job_start&job_stop=$job_stop&period_start=$period_start&period_stop=$period_stop";
    155158                     # Adding units to graph 2003 by Jason Smith <smithj4@bnl.gov>.
    156159                     if ($v[UNITS]) {
Note: See TracChangeset for help on using the changeset viewer.