ServiceNow data source shows "Number of applications in ServiceNow exceeds system limit" in Aria Operations for Networks
search cancel

ServiceNow data source shows "Number of applications in ServiceNow exceeds system limit" in Aria Operations for Networks

book

Article ID: 384910

calendar_today

Updated On:

Products

VCF Operations for Networks

Issue/Introduction

The error "Number of applications in ServiceNow exceeds system limit" displays on ServiceNow data source in AON as shown in the below screenshot:

 

 

Collector latest.log shows below exception: "Number of applications XXXX exceeds system limit 5000"

2024-11-25T14:07:44.682Z INFO servicenow.tasks.ServiceNowFetchTask SERVICENOW_x.x.x.x..com_Config_OpMgr-0 validateAppLimit:292 Number of ServiceNow applications 7168
2024-11-25T14:07:44.682Z ERROR servicenow.tasks.ServiceNowFetchTask SERVICENOW_x.x.x.x.com_Config_OpMgr-0 validateAppLimit:294 Number of applications 7168 exceeds system limit 5000
2024-11-25T14:07:44.682Z ERROR common.utils.CommonUtils SERVICENOW_x.x.xx.com_Config_OpMgr-0 logException:2580 Number of applications 7168 exceeds system limit 5000
com.vnera.dataproviders.core.impl.dns.RecordFetchLimitExceededException: Number of applications 7168 exceeds system limit 5000
        at com.vnera.dataproviders.core.impl.cmdb.servicenow.tasks.ServiceNowFetchTask.validateAppLimit(ServiceNowFetchTask.java:296) _[dataproviders-0.001-SNAPSHOT.jar:_]
        at com.vnera.dataproviders.core.impl.cmdb.servicenow.tasks.ServiceNowFetchTask.doRun(ServiceNowFetchTask.java:147) _[dataproviders-0.001-SNAPSHOT.jar:_]
        at com.vnera.dataproviders.core.common.impl.dataprovider.tasks.AbstractTask.run(AbstractTask.java:165) _[dataproviders-0.001-SNAPSHOT.jar:_]
        at com.vnera.dataproviders.tasker.Tasker_ScheduledTaskWrapper.run(Tasker.java:486) [dataproviders-0.001-SNAPSHOT.jar:_]
        at com.google.common.util.concurrent.MoreExecutors_ScheduledListeningDecorator_NeverSuccessfulListenableFutureTask.run(MoreExecutors.java:678) [guava-23.5-jre.jar:_]
        at java.util.concurrent.Executors_RunnableAdapter.call(Executors.java:515) [_:_]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [_:_]
        at java.util.concurrent.ScheduledThreadPoolExecutor_ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [_:_]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [_:_]
        at java.util.concurrent.ThreadPoolExecutor_Worker.run(ThreadPoolExecutor.java:628) [_:_]
        at java.lang.Thread.run(Thread.java:829) [_:_]

 

Environment

Aria Operations for Networks 6.13.0
Aria Operations for Networks 6.14.0

Cause

The maximum number of applications from ServiceNow/CMDB per datasource in Aria Operations for Networks is 5000, and this limit is hardcoded as we can't discover more than 5000 because of scale issue.

 

Resolution

To fix this issue we need to performed below steps which will involve enablement of API filer, use of API file in Service now, update the JSON and add service now as datasource in GUI>

  1. Delete the existing Service Now which is added as Datasource in GUI.
  2. Wait for 24-36 hours for the clean up of "exceeds system limit 5000" 
  3. Create and validate apiFilter on SNOW UI to select only required application.
  4. Enable  enableServiceNowApiFilter on platform and collector in database via rdb 
  5. Update apiFilter name values in default service now config (JSON) save it and upload in the UI datasource page.

 

Above steps involve database changes, for further assistance on above steps, open a Broadcom support case. For more information, see Creating and managing Broadcom support cases.

Additional Information

Refer to the following document for the CMDB/ServiceNow Max configuration details: Supported CMDBs