How can we check if there are devices in CA Performance Management (CAPM) with Change Detection (CD) turned off?
search cancel

How can we check if there are devices in CA Performance Management (CAPM) with Change Detection (CD) turned off?

book

Article ID: 203786

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

Adding a new interface to a device but Change Detection (CD) failed to detect it.

This required manually selecting "Update Metric Families" to get the new interface added to the view.

Environment

DX NetOps CAPM Release : 20.2 or later

Cause

If the following conditions are met, we will disable change detection (CD) on that specific metric family (MF) on that specific device.

When update MF runs (either manually or via change detection schedule), we first discover what VC to use.

We will read the OIDs needed for component discovery.

If we determine that the VC(s) supported changed on the metric family, we kick off a FIRST_VC_Verify stage that runs in 5 minutes from the initial read.

After we get back the OIDs needed for component discovery, we compare them to the existing components.

If we determine this will result in Not Present items being created, we do a SECOND_VC_VERIFY stage that runs in 5 minutes from the first verify.

  • If we determine this will still result in Not Present items being created, we disable change detection.
  • We also do not apply any change/new item info we read during this CD cycle.

Resolution

To prevent a situation where critical devices are not being updated by change detection, you can check a REST endpoint on the DA to monitor and correct any devices that are disabled:

Replace YOUR-DA with the name of your DA.

 

POST to

http://YOUR-DA:8581/rest/devices/filtered
<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd">
  <Filter>
    <Device.ChangeDetectionDisabledMFs type="CONTAINS">{http://im.ca.com/normalizer}</Device.ChangeDetectionDisabledMFs>
  </Filter>
  <Select use="exclude" isa="exclude">
    <Device use="exclude">
      <PrimaryIPAddress use="include"/>
      <ChangeDetectionDisabledMFs use="include"/>
    </Device>
    <Item use="exclude">
      <Name use="include"/>
    </Item>
  </Select>
</FilterSelect>

*************************

This should return something similar to:

<DeviceList>
  <Device version="1.0.0">
    <ID>14005</ID>
    <PrimaryIPAddress>xx.x.x.x</PrimaryIPAddress>
    <ChangeDetectionDisabledMFsList>
      <ChangeDetectionDisabledMFs>{http://im.ca.com/normalizer}NormalizedPortInfo</ChangeDetectionDisabledMFs>
    </ChangeDetectionDisabledMFsList>
    <Item version="1.0.0">
      <Name>device A name</Name>
    </Item>
  </Device>
</DeviceList>

Additional Information

 

TechDocs : DX NetOps CAPM 22.2 : Device Reconfiguration