2 years ago
Get all of ping-multis on a collector
Hi there
I’m using the LM SDK to pull data from LM. I’m looking to pull a list of ICMP Ping-Multis configured on the collector.
Which sdk call should I be using here and does someone have an example for me of what the call will look like?
Thank very much.
api_instance.get_device_datasource_by_id( |
api_instance.get_device_datasource_by_id_with_http_info( |
api_instance.get_device_datasource_data_by_id( |
api_instance.get_device_datasource_data_by_id_with_http_info( |
api_instance.get_device_datasource_instance_alert_setting_by_id( |
api_instance.get_device_datasource_instance_alert_setting_by_id_with_http_info( |
api_instance.get_device_datasource_instance_alert_setting_list_of_device( |
api_instance.get_device_datasource_instance_alert_setting_list_of_device_with_http_info( |
api_instance.get_device_datasource_instance_alert_setting_list_of_dsi( |
api_instance.get_device_datasource_instance_alert_setting_list_of_dsi_with_http_info( |
api_instance.get_device_datasource_instance_by_id( |
api_instance.get_device_datasource_instance_by_id_with_http_info( |
api_instance.get_device_datasource_instance_data( |
api_instance.get_device_datasource_instance_data_with_http_info( |
api_instance.get_device_datasource_instance_graph_data( |
api_instance.get_device_datasource_instance_graph_data_with_http_info( |
api_instance.get_device_datasource_instance_group_by_id( |
api_instance.get_device_datasource_instance_group_by_id_with_http_info( |
api_instance.get_device_datasource_instance_group_list( |
api_instance.get_device_datasource_instance_group_list_with_http_info( |
api_instance.get_device_datasource_instance_group_overview_graph_data( |
api_instance.get_device_datasource_instance_group_overview_graph_data_with_http_info( |
api_instance.get_device_datasource_instance_list( |
api_instance.get_device_datasource_instance_list_with_http_info( |
api_instance.get_device_datasource_instance_sdt_history( |
api_instance.get_device_datasource_instance_sdt_history_with_http_info( |
api_instance.get_device_datasource_list( |
api_instance.get_device_datasource_list_with_http_info( |
- Anonymous2 years ago
You need to add a size=1000 parameter to your get_device_datasource_instance_list() call. The default return size is 50. Max is 1000. If you’re going to have more than 1000, you’ll need to do some pagination. I’ll see if i can find my post where i explain how to do pagination with the sdk.