Ignore:
Timestamp:
03/24/13 14:32:34 (11 years ago)
Author:
ramonb
Message:

graph.php:

  • fixed load color background

overview.php:

  • use our own host_overview not Ganglia's anymore (has no job range/start anymore)
File:
1 edited

Legend:

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

    r732 r733  
    10191019                    }
    10201020                }
     1021                $cpus             = 0;
    10211022
    10221023                $cpus             = $metrics[$host]["cpu_num"]["VAL"];
    10231024
    1024                 if ( !$cpus )
     1025                if( $cpus == 0 )
    10251026                {
    10261027                    $cpus        = 1;
     
    10811082                $val         = $metrics[$host][$metricname];
    10821083                $class       = "metric";
    1083                 $host_link   = "\"../../?c=$cluster_url&h=$host_url&r=job&jr=$jobrange&js=$jobstart\"";
    10841084
    10851085                if ( $val["TYPE"] == "timestamp" || $always_timestamp[$metricname] )
     
    11011101                    $graphargs     = ($reports[$metricname]) ? "g=$metricname&" : "m=$metricname&";
    11021102                    $graphargs     .= "z=overview-medium&c=$cluster_url&h=$host_url&l=$load_color&v=".$val['VAL']."&job_start=$job_start&period_start=$period_start&period_stop=$period_end";
     1103                    $host_link   = "\"?j_view=host&c=$cluster_url&h=$host_url&job&jr=$jobrange&js=$jobstart&period_start=$period_start&period_stop=$period_end\"";
    11031104                    if( $max > 0 )
    11041105                    {
Note: See TracChangeset for help on using the changeset viewer.