Threshold events not working

book

Article ID: 194644

calendar_today

Updated On:

Products

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

Issue/Introduction

Some threshold events are not working and the following error is seen int he EMService.log

ERROR | pool-1-thread-32         | 2020-06-18 17:06:04,132 | com.ca.im.portal.em.inv.NPCInventoryPoller                       
      | Exception during poll.
javax.xml.ws.WebServiceException: Could not send Message.
 at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
 at com.sun.proxy.$Proxy105.beginInventory(Unknown Source)
 at com.ca.im.portal.em.inv.NPCInventoryPoller.poll(NPCInventoryPoller.java:97)
 at com.ca.im.portal.em.util.PollCycleTask.run(PollCycleTask.java:60)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '404: Not Found' when communicating with https://capc.xxxxxxx.com:8382/dm/inventory2
 at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1603)
 at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1516)
 at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1424)
 at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
 at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:650)
 at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
 at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
 at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:531)
 at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:461)
 at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:364)
 at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:317)
 at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88)
 at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
 ... 8 more
ERROR | pool-1-thread-32         | 2020-06-18 17:06:04,132 | com.ca.im.portal.em.util.PollCycleTask                           
      | Unable to successfully retrieve inventory from CAPC

Cause

Web Service Scheme and Web Service Port are wrong

Environment

CAPM 3.x

Resolution

The following steps should be followed to change Web Service Scheme and Web Service Port

  • cd /opt/CA/PerformanceCenter
  • ./SSOConfig
    - Choose 1. CA Performance Center
    - Choose 3. Performance Center
    - The following items need to change: Web Service Scheme: https / Web Service Port: 8382
  • Choose 2. Local Override ... "Update" Web Service Scheme: https to http
    - b .... for back
    - Choose 1. Remote Value ... "Update" Web Service Scheme: https to http / "Update" Web Service Port: 8382 to 8481
    - b .... for back
    - So when you once again choose 3. Performance Center it should show: Web Service Scheme: http / Web Service Port: 8481
  • Re sync event manager in the CAPC UI

The error should now go away and event manager will receove the full inventory from device manager