RPC API: Get Collector
Note that LogicMonitor does have an available REST API equivalent for this API call.
Collectors are used to gather data from your devices and send it to LogicMonitor. They are installed and run on a device within your infrastructure. The LogicMonitor API allows you to manage collectors programmatically. With the geAgent and getAgents RPC API calls you can view details for your existing collectors.
Note: As with all of our API calls, authentication is required.
getAgent
Retrieve details for one collector:
getAgents
Retrieve details for all collectors:
All outputs will be in the format: { [status], [data], [errmsg] }, where status is the status of the response, errmsg is the error message associated with the response, and the data object includes the following: