REST based Start & Stop item polling in CA Data Aggregator

Document ID : KB000098856
Last Modified Date : 30/05/2018
Show Technical Document Details
Introduction:
How to use REST to change the polling state of select items in CA Performance Managements CA Data Aggregator.
Background:
Allows for automated and scheduled polling state changes for select devices and/or elements.
Environment:
All supported CA Performance Management releases
Instructions:
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.