Threshold events from Performance Management are not getting to Spectrum
search cancel

Threshold events from Performance Management are not getting to Spectrum

book

Article ID: 45821

calendar_today

Updated On:

Products

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

Issue/Introduction

After converting NetOps Portal and Spectrum to SSL, threshold events are not making it to Spectrum.  The following error is seen in the Spectrum OneClick server log:

Aug 15, 2016 10:54:01.919 (PoolThread-132: GlobalPool => NPCEventManagerWebserviceURLPoller) (NetqosEventLog) - (DEBUG) - Evaluating Event Manager web service location

AxisFault

faultCode: {http://xml.apache.org/axis/}HTTP

faultSubcode: 

faultString: (301)Moved Permanently

faultActor: 

faultNode: 

faultDetail: 

{}:return code:  301

{http://xml.apache.org/axis/}HttpErrorCode:301

 

(301)Moved Permanently

at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)

at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)

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)

Aug 15, 2016 10:55:01.913 (PoolThread-132: GlobalPool => NPCEventManagerWebserviceURLPoller) (NetqosEventLog) - (ERROR) - Unable to contact Event Manager - stopping all polling.

Aug 15, 2016 10:55:01.913 (PoolThread-132: GlobalPool => NPCEventManagerWebserviceURLPoller) (NetqosEventLog) - (DEBUG) - Stopping polling for landscapes: host2(0x200000), host1(0x100000)

Aug 15, 2016 10:55:01.913 (PoolThread-132: GlobalPool => NPCEventManagerWebserviceURLPoller) (NetqosEventLog) - (DEBUG) - Setting endPointURL to null

This indicates Spectrum cannot poll the event manager because it does not know what the appropriate URL is.

Cause

Mis-configuration of NpcWebServiceScheme (Web Service Scheme) as seen in SsoConfig

Resolution

  1. cd /opt/CA/PerformanceCenter/

  2. Run:

    ./SsoConfig

  3. Choose the following options
  • 1. CA Performance Center
  • 3. Performance Center
  • 1. Remote Value
  • 1. Web Service Scheme
    • Update this value from https to http as event manager does not use https
    • Confirm other values such as ports to make sure they are correct

     4. Restart Spectrum Tomcat as this will do a full resynch of the Spectrum data source and initiate event polling

After new threshold events come in you should now see them successfully make it over to Spectrum.  You should also no longer see the http 301 error in Spectrum OneClick's tomcat log as noted above