Forum Discussion

MrJ's avatar
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 examp...
  • Anonymous's avatar
    Anonymous
    2 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.