IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 28, 2015, 11:23:28 AM (11 years ago)
Author:
eugene
Message:

add fullforce stage, cleanup stage handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/czartool/roboczar.pl

    r33814 r38206  
    2222
    2323my @stages = (
    24         "chip",
    25         "cam",
    26         "fake",
    27         "warp",
    28         "stack",
    29         "staticsky",
    30         "diff",
    31         "dist",
    32         "chipbackground"); # TODO get from Pantasks
     24        "chip",
     25        "cam",
     26        "fake",
     27        "warp",
     28        "stack",
     29        "staticsky",
     30        "diff",
     31        "fullforce",
     32        "dist"); # TODO get from Pantasks
     33
     34#       "chipbackground"
    3335
    3436my @interestedServers = $config->getRoboczarInterestedServers();
     
    5759
    5860    if ($anythingToReport && $message ne $lastMessage) {
    59    
     61
    6062print "\n\n$message\n\n";
    6163
    6264        sendEmail($config->getRoboczarEmail(),
    63                 "Roboczar warnings", 
     65                "Roboczar warnings",
    6466                "$message\n");
    6567    }
     
    101103
    102104        if ($stageMetrics->getStuck()) {
    103        
     105
    104106            ${$message} = ${$message} ."\n - '$stage' is stuck with ".$stageMetrics->getFinalPending()." pending exposures (and ".$stageMetrics->getFaults()." faults)";
    105107            $anyStuckStages = 1;
     
    112114###########################################################################
    113115#
    114 # Checks that the important servers are running 
     116# Checks that the important servers are running
    115117#
    116118###########################################################################
     
    141143
    142144    return $anythingToReport;
    143 } 
     145}
    144146
    145147###########################################################################
    146148#
    147 # Sends an email 
     149# Sends an email
    148150#
    149151###########################################################################
Note: See TracChangeset for help on using the changeset viewer.