Discovered interfaces are not showing in the CAPC user interface

book

Article ID: 5104

calendar_today

Updated On:

Products

CA Infrastructure Management CA Infrastructure Management CA Performance Management - Usage and Administration CA Performance Management - Data Polling

Issue/Introduction

Interfaces for very large devices are not seen in the CAPC user interface when looking at the device on the Data Aggregator (Administration > Monitored Devices in the CAPC user interface).  An example of a large device could be an Adtran device that has thousands of interfaces

Cause

The rest call made to retrieve the list of interfaces is to large for the system to handle.  Here is an example of the Warning seen in the Data Aggregator's karaf.log:

 

WARN | 149915323-305150 | 2016-12-16 19:48:49,107 | WebApplicationExceptionMapper | pl.WebApplicationExceptionMapper 73 | xf.cxf-rt-frontend-jaxrs | | javax.ws.rs.WebApplicationException: java.lang.IllegalArgumentException: The estimated count of 213653 for endpoint ports exceeds the maximumn allowed by the mananger of 200000. To avoid risking the integrity of the server, we are unable to return the request XML. 

Environment

CAPM 2.x

Resolution

  1. Create a file named com.ca.im.item.ws.impl.AutomaticWebServiceManagerImpl.cfg in the DA's INSTALL_ROOT/apache-karaf-XXX/etc/ directory. 
  2. Add the following line to that file:   maxReturnItemCount=215000 
  3. Now update the interface list for the device in question, on the Da
    • Go to Administration > Monitored Devices
    • Find the device in question
    • Under the "Polled Metric Families" tab click next to the "interfaces" metric
    • Interfaces should not appear in the bottom "Interface Components" pane

Additional Information

The exact number that you put in should mimic the approximate count seen in the DA karaf.log, with the caveat that setting this to a high number can result in OutOfMemory errors.