Changeset 372
- Timestamp:
- 12/18/06 14:20:03 (7 years ago)
- Location:
- util
- Files:
-
- 2 modified
-
server_daily_maint (modified) (2 diffs)
-
server_daily_maint_main.tmpl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
util/server_daily_maint
r371 r372 502 502 return '-' unless ($s or $f); 503 503 my $n = int(100*$s/($s+$f)); 504 my $color = ($n < 50? "red" : $n < 90 ? "orange" : "lightgreen");504 my $color = ($n < 75 ? "red" : $n < 90 ? "orange" : "lightgreen"); 505 505 return "<font color=\"$color\">$n%</font>"; 506 506 } … … 783 783 $h->{'NAME'} = $c; 784 784 $h->{'FOURTH'} = 1 if (($ccount % 4 == 0) && ($ccount > 0)); 785 my @ret = report_count_data(0, 0, "c_".$c."_success_ counter", "brief");785 my @ret = report_count_data(0, 0, "c_".$c."_success_sysid_list", "all"); 786 786 $h->{'COMPONENT_SUCCESS_RUNS'} = $ret[0]; 787 787 # $h->{'COMPONENT_SUCCESS_RUNS_TOTAL'} = $ret[1]; 788 @ret = report_count_data(0, 0, "c_".$c."_fail_ counter", "all", "ignore-zero");788 @ret = report_count_data(0, 0, "c_".$c."_fail_sysid_list", "all", "ignore-zero"); 789 789 $h->{'COMPONENT_FAIL_RUNS'} = $ret[0]; 790 790 # $h->{'COMPONENT_FAIL_RUNS_TOTAL'} = $ret[1]; -
util/server_daily_maint_main.tmpl
r371 r372 115 115 116 116 <tr><td align=left valign=top nowrap colspan=2> 117 <h2> DetailedComponent Statistics</h2>117 <h2>Component Statistics</h2> 118 118 <p><table align=center> 119 119 <TMPL_LOOP NAME=COMPONENTS> … … 123 123 <b>Success: <TMPL_VAR NAME=SUCCESS_RATE_WEEK></b> (wk), 124 124 <b><TMPL_VAR NAME=SUCCESS_RATE_MONTH></b> (mo)<br> 125 <b>Successful runs:</b><br>125 <b>Successful users:</b><br> 126 126 <TMPL_LOOP NAME=COMPONENT_SUCCESS_RUNS> 127 127 <li>in last <TMPL_VAR NAME=TIMESLICE>: <b><TMPL_VAR NAME=SEEN></b> (previous <TMPL_VAR NAME=PREVIOUS>)</li> 128 128 </TMPL_LOOP> 129 <b>Failed runs:</b><br>129 <b>Failed users:</b><br> 130 130 <TMPL_LOOP NAME=COMPONENT_FAIL_RUNS> 131 131 <li>in last <TMPL_VAR NAME=TIMESLICE>: <b><TMPL_VAR NAME=SEEN></b> (previous <TMPL_VAR NAME=PREVIOUS>)</li>
