Classify a service window from failed checks and the remaining open minutes.

Service Window Reliability Report

service_window.pl
use strict;
use warnings;

my $failed_checks = ;
my $open_minutes = 45;
my $service_status = "blocked";

if ($failed_checks == 0 && $open_minutes >= 30) {
    $service_status = "ready";
} elsif ($failed_checks <= 1) {
    $service_status = "watch";
}

print "failed=$failed_checks open=$open_minutes status=$service_status\n";
use strict;
use warnings;

my $failed_checks = ;
my $open_minutes = 45;
my $service_status = "blocked";

if ($failed_checks == 0 && $open_minutes >= 30) {
    $service_status = "ready";
} elsif ($failed_checks <= 1) {
    $service_status = "watch";
}

print "failed=$failed_checks open=$open_minutes status=$service_status\n";
use strict;
use warnings;

my $failed_checks = ;
my $open_minutes = 45;
my $service_status = "blocked";

if ($failed_checks == 0 && $open_minutes >= 30) {
    $service_status = "ready";
} elsif ($failed_checks <= 1) {
    $service_status = "watch";
}

print "failed=$failed_checks open=$open_minutes status=$service_status\n";
service window A reliability report can reduce readiness signals to one stable label before a maintenance window opens.