DX Application Performance Management

  • 1.  Duplicate resource metric definition

    Posted Feb 08, 2018 09:23 AM

    A few days ago I started seeing this warning;

     

    [WARN] [Harvest Engine Pooled Worker] [Manager.ResourceMetrics] Duplicate resource metric definition. The metric:Agent Stats|Resources:% CPU Utilization (Host) was generated from the source:WebSpherePMI|jvmRuntimeModule:ProcessCpuUsage . Metric source:CPU:Utilization % (process) is ignored.

     

    I have 5 collectors in the cluster and although I'm seeing this warning on all collectors on most I'm seeing it 6-12 times an hour, but on one collector it is happening over 8000 times an hour. and increasing. 

     

    1. What is causing this warning?

    2. If this due to an agent, is there a way to get more information to determine which one?



  • 2.  Re: Duplicate resource metric definition

    Broadcom Employee
    Posted Feb 08, 2018 09:37 AM

      Dear Team:

    Can others provide Robert some suggestions on next steps?



  • 3.  Re: Duplicate resource metric definition
    Best Answer

    Broadcom Employee
    Posted Feb 08, 2018 11:47 AM

    Check for a JavaScript calculator that is not flagged to run either at MOM or collector. Check for the function runOnMOM(). The returned value should be true or false.

     

    https://communities.ca.com/docs/DOC-231151741-javascript-calculators

     

     

     



  • 4.  Re: Duplicate resource metric definition

    Posted May 14, 2018 08:28 AM

    I was not able to Identify which script is producing the duplicate metric.

     

    The only javascripts that I have are the ones that are installed by CA (see list below).  Not sure if it matters, but the metrics that is being duplicated is defined in the ResourceMetricMap.properties
    "cpu.utilization.path.2=WebSpherePMI|jvmRuntimeModule:ProcessCpuUsage"

     

    Browser-AggregatedTree.js (runOnMOM return true)
    BtStats-AggregatedTree.js (runOnMOM return false)
    BtStats-DefectPercent.js (runOnMOM return false)
    BtStats-GeolocationAggregatedTree.js (runOnMOM return false)
    SpringMVC_Aggregation.js (No runOnMOM)

    ./inferredbackends

    databaseBackend.js (No runOnMOM)
    defaultFallback.js (No runOnMOM)
    socketBackend.js (No runOnMOM)
    storageBackend.js (No runOnMOM)
    webServiceBackend.js (No runOnMOM)