From e7a0ba819943bacadddbceade46375c49555f64c Mon Sep 17 00:00:00 2001 From: Michael Kraus Date: Fri, 24 Aug 2018 13:32:57 +0200 Subject: [PATCH] Fix small typos --- check_curly | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_curly b/check_curly index 9db6896..1b2c89f 100755 --- a/check_curly +++ b/check_curly @@ -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'; @@ -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); } }