Bug #2654
Plugin check_centreon_ping critical state git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@12606 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
2099572d26
commit
cf2d6d4b0e
|
@ -190,7 +190,7 @@ if( $rta == -1 ) {
|
|||
} elsif ( ($pl >= $pl_critical) || ($rta >= $rta_critical) ) {
|
||||
$ping_result_array[@ping_result_array -1 ] =~ s/\%/percent/g;
|
||||
my @tab = split(/,/,$ping_result_array[@ping_result_array -1 ]);
|
||||
print "PING CRITICAL - ". $tab[0] ."|time=".$time_answer."ms;$pl_warning;$pl_critical;0; ok=1\n";
|
||||
print "PING CRITICAL - ". $tab[0] ."|time=".$time_answer."ms;$pl_warning;$pl_critical;0; ok=0\n";
|
||||
exit $ERRORS{'CRITICAL'};
|
||||
} elsif ( ($pl >= $pl_warning) || ($rta >= $rta_warning) ) {
|
||||
$ping_result_array[@ping_result_array -1 ] =~ s/\%/percent/g;
|
||||
|
|
Loading…
Reference in New Issue