Merge pull request #4 from erwinschliske/patch-1

Update check-cisco.pl
This commit is contained in:
Ran Leibman 2014-05-27 17:05:18 +03:00
commit d5c6aed09a
1 changed files with 2 additions and 2 deletions

View File

@ -205,10 +205,10 @@ if($check_type =~ /^temp/) {
}
if($temp <= $warn) {
$stat = 0;
$msg = "Temperature: OK - Tempeture is $temp Celsius";
$msg = "Temperature: OK - Temperature is $temp Celsius";
} elsif($temp > $warn and $temp < $crit) {
$stat = 1;
$msg = "Temperature: Warn - Tempeture is $temp Celsius";
$msg = "Temperature: Warn - Temperature is $temp Celsius";
} elsif($temp >= $crit) {
$stat = 2;
$msg = "Temperature: CRIT - Tempeture is $temp Celsius";