fix error with state
git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@12148 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
0190418201
commit
b6577cab4d
|
@ -322,7 +322,7 @@ if (defined($currentValue)){
|
|||
print "Critical[$i] = $critical_table[$i] / returnValue = $returnValue \n" if($OPTION{'debug'});
|
||||
if ($critical_table[$i] == $returnValue) {
|
||||
$status = "CRITICAL";
|
||||
$state = $warning_table[$i+1];
|
||||
$state = $critical_table[$i+1];
|
||||
}
|
||||
$i = $i +2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue