search cancel

See Data Source state via REST

book

Article ID: 214730

calendar_today

Updated On:

Products

DX NetOps CA Performance Management - Usage and Administration

Issue/Introduction

Our Spectrum data source has FAILED synchronization or gone unreachable. Is it possible to tell the status of a data source from a rest endpoint?

Environment

Release : 20.2

Component : IM Data Aggregator

Resolution

You can view the data source entry here (where 5 = data source id):

pcHostname:8181/pc/center/webservice/datasources/dataSourceId/5/

Additional Information

Good Spectrum result example:

<dataSourceState>
<mode>PUSH_COMPLETE</mode>
<state>SUCCESS</state>
<lastUpdatedOn>2021-03-24T18:00:18Z</lastUpdatedOn>
<lastPolledOn>2021-05-10T19:37:04Z</lastPolledOn>
<pollInterval>300</pollInterval>
<isEnabled>true</isEnabled>
<isDeleting>false</isDeleting>
<isRemovable>true</isRemovable>
<setNextSynchronizationFull>false</setNextSynchronizationFull>
<requestPushFromOtherDS>false</requestPushFromOtherDS>
<syncRetiredItems>false</syncRetiredItems>
<syncDeviceLifeCycleStates>true</syncDeviceLifeCycleStates>
<contributeInventoryToDA>false</contributeInventoryToDA>
</dataSourceState>

 

FAILED Spectrum result example:

<dataSourceState>
<mode>PUSH_COMPLETE</mode>
<state>DATA_SOURCE_FAILURE</state>
<lastUpdatedOn>2021-03-24T18:00:18Z</lastUpdatedOn>
<lastPolledOn>2021-05-10T19:42:04Z</lastPolledOn>
<pollInterval>300</pollInterval>
<isEnabled>true</isEnabled>
<isDeleting>false</isDeleting>
<isRemovable>true</isRemovable>
<setNextSynchronizationFull>false</setNextSynchronizationFull>
<requestPushFromOtherDS>false</requestPushFromOtherDS>
<syncRetiredItems>false</syncRetiredItems>
<syncDeviceLifeCycleStates>true</syncDeviceLifeCycleStates>
<contributeInventoryToDA>false</contributeInventoryToDA>
</dataSourceState>