mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 16:14:21 +02:00
(plugin) network::cisco::meraki::cloudcontroller::restapi - mode devices use new endpoint for switch port status (#3661)
This commit is contained in:
parent
b631265870
commit
309fd33e28
@ -467,7 +467,7 @@ sub get_device_switch_port_statuses {
|
|||||||
my ($self, %options) = @_;
|
my ($self, %options) = @_;
|
||||||
|
|
||||||
return $self->request_api(
|
return $self->request_api(
|
||||||
endpoint => '/devices/' . $options{serial} . '/switchPortStatuses',
|
endpoint => '/devices/' . $options{serial} . '/switch/ports/statuses',
|
||||||
get_param => [ 'timespan=' . $self->{timespan} ],
|
get_param => [ 'timespan=' . $self->{timespan} ],
|
||||||
hostname => $self->get_shard_hostname(serial => $options{serial})
|
hostname => $self->get_shard_hostname(serial => $options{serial})
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user