Get DataSource Instance Groups

You can use LogicMonitor’s REST API to programmatically get datasource instance groups.   Note: As with all of our API calls, authentication is required.     Get a list of datasource instance groups HTTP Method: GET URI: /device/devices/{deviceId}/devicedatasources/{deviceDatasourceId}/groups Where: {deviceId} is the device id, which you can get from a GET request to the devices … Continued

About the Datasource Instance Resource

You can use LogicMonitor’s REST API to programmatically manage the datasource instances for a particular device.  Note that instances can only be added, deleted & updated via API if Active Discovery is disabled for the datasource. Using LogicMonitor’s REST API, you can: add an instance get one or more instances update an instance delete an … Continued

Add an Instance to a Datasource

You can use LogicMonitor’s REST API to programmatically add instances to datasources that don’t have Active Discovery enabled. Note: As with all of our API calls, authentication is required. HTTP Method: POST URI: /device/devices/{deviceId}/devicedatasources/{deviceDatasourceId}/instances Where: {deviceId} is the device id, which you can get from a GET request to the devices resource {deviceDatasourceId} is the … Continued

Get Datasource Instances

You can use LogicMonitor’s REST API to programmatically get instances of a datasource. Note: As with all of our API calls, authentication is required. Get a list of datasource instances HTTP Method: GET URI: /device/devices/{deviceId}/devicedatasources/{deviceDatasourceId}/instances Where: {deviceId} is the device id, which you can get from a GET request to the devices resource {deviceDatasourceId} is … Continued

Update a Datasource Instance

You can use LogicMonitor’s REST API to programmatically update instances for datasources that don’t have Active Discovery enabled. Notes: As with all of our API calls, authentication is required. Consistent with HTTP standards, fields omitted from a PUT request will revert back to their default values. HTTP Method: PUT URI: /device/devices/{deviceId}/devicedatasources/{deviceDatasourceId}/instances/{instanceId} Where: {deviceId} is the … Continued

Delete DataSource Instances

You can use LogicMonitor’s REST API to programmatically delete DataSource instances for a particular device. Instances can only be deleted via API if Active Discovery is disabled for the DataSource. As with all of our API calls, authentication is required. HTTP Method: DELETE URI: /device/devices/{deviceId}/devicedatasources/{deviceDatasourceId}/instances/{instanceId} Where: {deviceId} is the device id, which you can get … Continued