- Timestamp:
- 08/12/05 11:27:55 (18 years ago)
- Location:
- trunk/web/addons/toga
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/addons/toga/graph.php
r192 r193 410 410 #} 411 411 412 $lower_limit = "--lower-limit 0"; 412 413 413 414 # … … 419 420 # $series; 420 421 $command = RRDTOOL . " graph - --start $period_start --end $period_stop ". 421 "--width $width --height $height ".422 "--width $width --height $height $lower_limit ". 422 423 "--title '$title' $extras $background ". 423 424 $series; -
trunk/web/addons/toga/overview.php
r188 r193 679 679 $load_color = load_color($host_load[$host]); 680 680 $graphargs = ($reports[$metricname]) ? "g=$metricname&" : "m=$metricname&"; 681 $graphargs .= "z=small&c=$cluster_url&h=$host_url&l=$load_color" ."&v=$val[VAL]&x=$max&n=$min&r=job&jr=$jobrange&js=$jobstart"; 681 $graphargs .= "z=small&c=$cluster_url&h=$host_url&l=$load_color" ."&v=$val[VAL]&r=job&jr=$jobrange&js=$jobstart"; 682 if( $max > 0 ) { 683 684 $graphargs .= "&x=$max&n=$min"; 685 } 682 686 } 683 687 if ($textval) {
Note: See TracChangeset
for help on using the changeset viewer.