mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-23 13:45:18 +02:00
parent
373606456e
commit
a1a0423e90
@ -394,7 +394,7 @@ sub get_networks_connection_stats {
|
||||
$timespan = 1 if ($timespan <= 0);
|
||||
|
||||
return $self->request_api(
|
||||
endpoint => '/networks/' . $options{network_id} . '/connectionStats?timespan=' . $options{timespan},
|
||||
endpoint => '/networks/' . $options{network_id},
|
||||
hostname => $self->get_shard_hostname(network_id => $options{network_id}),
|
||||
ignore_codes => { 400 => 1 }
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user