Forum Discussion
6 Replies
Hi Admine,
thank you for this hint. Do you have a link to any documentation about this? Or is it a undocumented feature?
I have been checking https://www.logicmonitor.com/support/rest-api-v3-swagger-documentation, but no luck.
- Admine
Neophyte
Hi Jeroen,
Yes its not in the documentation as far as i know. But i think you can use the endpoint described in the swagger documentation and then any payload as long as its in the format of the payload described above.
- Admine
Neophyte
You can use the LogicMonitor v3 REST API to automate the creation of process monitoring instances.
- Admine
Neophyte
Endpoint: POST /device/devices/{deviceId}/addmonitors
Payload structure: JSON object specifying the DataSource, instance parameters, and wildvalue (process name)
- Shack
Advisor
I think you can clone the LinuxProcesses datasource and make it Active Discovery, use a filter grab whatever it is your are looking for.
- venkat
Neophyte
Easiest way to use a Datasource and then run the discovery for the specific process and create and Applies to include on the required hosts