Changeset 40055 for trunk/ippMonitor/czartool/czarpoll.pl
- Timestamp:
- May 24, 2017, 2:55:55 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/czartool/czarpoll.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/czartool/czarpoll.pl
r40008 r40055 63 63 "fullforce", 64 64 "dist", 65 "pub"); 65 "pub", 66 "summitExp", 67 "downloadExp", 68 "newExp", 69 "rawExp"); 70 71 66 72 67 73 my @ippToPspsStages = ( … … 274 280 } 275 281 282 my @trashFiles = </tmp/czarplot_gnuplot_*>; 283 if ($#trashFiles != -1) { 284 print "* WARNING: Cleaning " . ($#trashFiles + 1) . " files that were not auto cleaned.\n"; 285 foreach my $tFile (@trashFiles) { 286 unlink($tFile); 287 } 288 } 289 276 290 my $iterationTime = time() - $iterationStartTime; 277 291 … … 350 364 # skip update labels for now. The plots are not relevant. 351 365 next if $label =~ 'ps_ud'; 366 # Skip individual label tables for raw-like stages. 367 # if ($stage =~ /Exp/) { next; } 352 368 353 369 $plotter->createTimeSeries($label, undef, $begin, $end, 1, 1, 1); … … 390 406 391 407 foreach $stage (@stages) { 392 393 408 $server = $pantasks->getServerForThisStage($stage); 394 409 $pantasks->getRevertStatus($stage, \$reverting); … … 396 411 397 412 print "* Checking labels for $stage stage\n"; 413 414 # These have no labels to check, so just get them out of the way fast 415 if (($stage eq 'summitExp')||($stage eq 'downloadExp')||($stage eq 'newExp')||($stage eq 'rawExp')) { 416 ($new,$full,$faults) = $gpc1Db->countRawExposures($today,$stage); 417 $czarDb->insertNewTimeData($stage, "all_".$labelServer."_labels", 'gpc1', $new, $full, $faults); 418 419 ($new,$full,$faults) = $gpc2Db->countRawExposures($today,$stage); 420 $czarDb->insertNewTimeData($stage, "all_".$labelServer."_labels", 'gpc2', $new, $full, $faults); 421 422 next; 423 } 424 398 425 399 426 $totalNew1=$totalFaults1=$totalFull1=0;
Note:
See TracChangeset
for help on using the changeset viewer.
