Downloading configsource configs via API
I recently had an incident where the resource was accidentally removed from LM and the next day we needed the configs for the device, because it was removed from LM (and permanently deleted) we couldn't retrieve the configs.
I'd like to be able to download the configs via API and store the files somewhere if possible. Has anyone implemented something similar?
Stephen Cavernelis
Posted 2 years ago·Last reply 2 years ago
3 comments
Sambhaji Kadam
·2 years agoGet Config Data - https://www.logicmonitor.com/support/rest-api-developers-guide/v1/data/get-config-data
All the updates and enhancements will be done to LogicMonitor REST API v3 ONLY. We strongly recommend that you switch to the latest v3 to stay ahead.
Resource Information
HTTP Method: GET
URI:
LM User
·2 years agoThis is what happens when LM management has a requirement or goal for their team members to contribute on the community. Redundant answers.
LM User
·2 years agoShould be doable. API docs are here.
Should be a GET to /device/devices/:deviceId/devicedatasources/:hdsId/instances/:instanceId/config