mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-25 22:55:15 +02:00
Fix UDP ping
This commit is contained in:
parent
6344554d12
commit
b21485f74d
@ -127,7 +127,7 @@ sub manage_selection {
|
||||
}
|
||||
|
||||
$self->{global} = {
|
||||
rta => $total_time_elapsed * 1000 / $self->{option_packets},
|
||||
rta => $total_time_elapsed * 1000 / ($self->{option_packets} - $total_packet_lost),
|
||||
rtmax => $max_time_elapsed * 1000,
|
||||
rtmin => $min_time_elapsed * 1000,
|
||||
pl => int($total_packet_lost * 100 / $self->{option_packets}),
|
||||
|
Loading…
x
Reference in New Issue
Block a user