NetqosEventLog Unable to contact Event Manager - stopping all polling
search cancel

NetqosEventLog Unable to contact Event Manager - stopping all polling

book

Article ID: 211038

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

The following error is logged in the $SPECROOT/tomcat/logs/sdtdout.log file after upgraded to 10.4.3 release:

Mar 18, 2021 15:53:17.160 - Error occurred while closing a Service Desk ticket.
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.net.ConnectException: Connection refused: connect
 faultActor: 
 faultNode: 
 faultDetail: 
 {http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection refused: connect
 at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
 at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
 at java.net.Socket.connect(Socket.java:607)
 at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
 at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
 at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
 at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
 at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
 at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
 at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
 at org.apache.axis.client.Call.invoke(Call.java:2767)
 at org.apache.axis.client.Call.invoke(Call.java:2443)
 at org.apache.axis.client.Call.invoke(Call.java:2366)
 at org.apache.axis.client.Call.invoke(Call.java:1812)
 at com.netqos.InventoryWS.InventoryWSSoapStub.beginInventory(InventoryWSSoapStub.java:504)
 at com.ca.im.netqos.integration.datasource.inventory.AxisNetqosInventoryService.getEventManagerURL(AxisNetqosInventoryService.java:77)
 at com.ca.im.netqos.integration.event.NetqosEventManager$NPCEventManagerWebserviceURLPoller.performTask(NetqosEventManager.java:626)
 at com.aprisma.util.thread.ThreadPoolMonitor$TimedThreadTask.performTask(ThreadPoolMonitor.java:135)
 at com.aprisma.util.thread.CachedThread.run(CachedThread.java:116)

 {http://xml.apache.org/axis/}hostname:OneClick_host

java.net.ConnectException: Connection refused: connect

Mar 18, 2021 15:54:14.520 (PoolThread-22: GlobalPool => NPCEventManagerWebserviceURLPoller) (NetqosEventLog) - (ERROR) - Unable to contact Event Manager - stopping all polling.

Environment

Release : 22.2.x

Component : Spectrum Integrations

Cause

There is an incorrect IP address for the NpcWebServiceHost parameter in the PC/Portal machine.

Enable the Performance Center modules in debug mode on the OneClick debugging page:

 

The additional messages were logged in the Tomcat log file:

In the $SPECROOT/tomcat/logs/stdout.log file:
Mar 19, 2021 19:10:15.170 (http-nio-80-exec-12) (NetqosSyncLog) - (TRACE) - Setting CAPC_URL_prefix attribute to : http://xxx.yyy.zzz.company.com:8181/pc/desktop/page?
Mar 19, 2021 19:10:15.170 (PoolThread-17: GlobalPool => NPCEventManagerWebserviceURLPoller) (NetqosEventLog) - (DEBUG) - Evaluating Event Manager web service location
Mar 19, 2021 19:10:15.186 (http-nio-80-exec-12) (NetqosSyncLog) - (TRACE) - SpectrumPushRequestHandler.processPropertiesTable ending
Mar 19, 2021 19:10:15.186 (http-nio-80-exec-12) (NetqosSyncLog) - (TRACE) - SpectrumPushRequestHandler.handlePropertiesPhase ending
Mar 19, 2021 19:10:15.186 (http-nio-80-exec-12) (NetqosSyncLog) - (TRACE) - SpectrumPushRequestHandler.processPushRequest ending
Mar 19, 2021 19:10:15.202 (http-nio-80-exec-16) (NetqosSyncLog) - (TRACE) - SpectrumPushRequestHandler.processPushRequest starting
Mar 19, 2021 19:10:15.202 (http-nio-80-exec-16) (NetqosSyncLog) - (DEBUG) - processing PROPERTIES(5) phase of push
Mar 19, 2021 19:10:15.202 (http-nio-80-exec-16) (NetqosSyncLog) - (TRACE) - SpectrumPushRequestHandler.handlePropertiesPhase starting
Mar 19, 2021 19:10:15.202 (http-nio-80-exec-16) (NetqosSyncLog) - (DEBUG) - completed processing all phases of push
Mar 19, 2021 19:10:15.202 (http-nio-80-exec-16) (NetqosSyncLog) - (TRACE) - SpectrumPushRequestHandler.handlePropertiesPhase ending
Mar 19, 2021 19:10:15.202 (http-nio-80-exec-16) (NetqosSyncLog) - (TRACE) - SpectrumPushRequestHandler.processPushRequest ending
Mar 19, 2021 19:10:15.217 (http-nio-80-exec-11) (NetqosSyncLog) - (TRACE) - SpectrumProductSync2Handler.endPush starting
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.net.ConnectException: Connection refused: connect
 faultActor: 
 faultNode: 
 faultDetail: 
 {http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection refused: connect

Resolution

On the PC/Portal machine, go to the /opt/CA/PerformanceCenter directory (you may need to go in a different directory if you did not install the PC on the default directory).

Run: ./SsoConfig

Single Sign-On Configuration Tool
Enter q to quit the program or b to go back to previous menu

SSO Configuration:
1CA Performance Center
Choose an option > 1

SSO Configuration/CA Performance Center:
1. LDAP Authentication
2. SAML2 Authentication
3Performance Center
4. Single Sign-On
5. Test LDAP
6. Export SAML2 Service Provider Metadata
7. Enable FIPS
8. Performance Center Local Password Authentication
9. Enable or Disable a user account.
Choose an option > 3

In one of the parameters listed (Web Service Host), you should see xxx.yyy.zzz.company.com.  Replace with the correct IP address of the PC/Portal machine.

Make sure to use Remote Value so the setting will be pushed to the data source.