if ($line =~ /server is DOWN/) { $got_button = 1; print $redbutton; last; }