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

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

book

Article ID: 384910

calendar_today

Updated On:

Products

VCF Operations for Networks VMware vSphere ESXi

Issue/Introduction

The error Number of applications in ServiceNow exceeds system limit displays on ServiceNow data source in VCF Operations for Networks GUI as shown in the below screenshot:

 

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

Log Location /var/log/arkin/collector/latest.log

2024-11-25T14:07:44.682Z INFO servicenow.tasks.ServiceNowFetchTask SERVICENOW_##.##.##.##.com_Config_OpMgr-0 validateAppLimit:292 Number of ServiceNow applications 7168
2024-11-25T14:07:44.682Z ERROR servicenow.tasks.ServiceNowFetchTask SERVICENOW_##.##.##.##.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_##.##.##.##.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

  • VCF Operations for Networks 6.13.0
  • VCF Operations for Networks 6.14.x
  • VCF Operations for Networks 9.0.x
  • VCF Operations for Networks 9.1.x

Cause

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

 

Resolution

To fix this issue will involve enablement of API filer, via database edit in the policy profiles for the 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 both platform and collector in database via rdb.
    Note:
    In Cluster deployment enable this on both the platform node1 and the collector where ServiceNow is added as datasource.
    If collector has been deployment then ensure this APIFilyer policy is enabled on the collector node.

  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 
Subscribe to this KB Knowledge Base Subscription link to be notified of any changes to scale limits or product enhancements.