Skip to content

Commit

Permalink
Fix small typos
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kraus authored Aug 24, 2018
1 parent 47797dd commit e7a0ba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check_curly
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ $body
}

if (isset($Tc) and ($total_time > $Tc)){
$Msg.='CRIITCAL Page time '.$total_time.'s exceeded time limit '.$Tc.'s';
$Msg.='CRITICAL Page time '.$total_time.'s exceeded time limit '.$Tc.'s';
nagios_exit(2);
}elseif (isset($Tw) and ($total_time > $Tw)){
$Msg.='WARNING Page time '.$total_time.'s exceeded time limit '.$Tw.'s';
Expand All @@ -384,7 +384,7 @@ $body

if (isset($Grep)){
if (!strstr($body,$Grep)){
$Msg.='CIRITCAL String '.$Grep.' not found';
$Msg.='CRITICAL String '.$Grep.' not found';
nagios_exit(2);
}
}
Expand Down

0 comments on commit e7a0ba8

Please sign in to comment.