How to use REST to change the polling state of select items in CA Performance Managements CA Data Aggregator.
Allows for automated and scheduled polling state changes for select devices and/or elements.
All supported CA Performance Management releases
The REST call to Start or Stop polling for a device is as follows:
curl -X PUT -H 'Content-type: application/xml' -d '<Device version="1.0.0"><StopPoll>VALUE</StopPoll></Device>' http://DAHOST:8581/rest/tenant/TENANTID/devices/DEVICEID
VALUE = true (for Stop) or false (for Start):
Replace DAHOST with real DA Host Name.
Replace TENANTID with the Tenant ID for the Tenant that hosts the target device.
Replace DEVICEID with target Device ID.
Replace VALUE with true or false to Stop or Start the polling.