Get Device Loss And Latency History

Solved
eroche
Getting noticed

Get Device Loss And Latency History

Has anyone used this API? All I get back is the 200 Code that it ran successfully. I used the demo script that is given and added my info. Am I missing some thing? Here is what I get back:

2024-08-07 10:00:36 meraki: INFO > Meraki dashboard API session initialized with these parameters: {'version': '1.46.0', 'api_key': '************************************55b7', 'base_url': 'https://api.meraki.com/api/v1', 'single_request_timeout': 60, 'certificate_path': '', 'requests_proxy': '', 'wait_on_rate_limit': True, 'nginx_429_retry_wait_time': 60, 'action_batch_retry_wait_time': 60, 'network_delete_retry_wait_time': 240, 'retry_4xx_error': False, 'retry_4xx_error_wait_time': 60, 'maximum_retries': 2, 'simulate': False, 'be_geo_id': None, 'caller': None, 'use_iterator_for_get_pages': False}
2024-08-07 10:00:36 meraki: INFO > GET https://api.meraki.com/api/v1/devices/<MySN>/lossAndLatencyHistory
2024-08-07 10:00:36 meraki: INFO > devices, getDeviceLossAndLatencyHistory - 200 OK
[]


------------------
(program exited with code: 0)
Press return to continue

 

 

import meraki

API_KEY = 'MyKey'

dashboard = meraki.DashboardAPI(API_KEY)

serial = 'DeviceSN'

ip = 'IP"

response = dashboard.devices.getDeviceLossAndLatencyHistory(

    serial, ip

)

print(response)

 

1 Accepted Solution
eroche
Getting noticed

Oh Shoot, I found the issue....the IP is the destination or the IP your are pinging.

View solution in original post

1 Reply 1
eroche
Getting noticed

Oh Shoot, I found the issue....the IP is the destination or the IP your are pinging.

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.