Events not seen in CAPC

Document ID : KB000106090
Last Modified Date : 11/07/2018
Show Technical Document Details
After upgrade from 3.2 to 3.6 events are not seen in the CAPC event dashboard and the following error is seen in the DA karaf.log

ERROR | EventPush | 2018-07-06 07:51:44,269 | EventProducerWS | or.eventproducer.EventProducerWS 945 | | | Failed to push xxx events: org.apache.cxf.interceptor.Fault: Marshalling Error:
CAPM 3.6
Wrong IP address registered with the DA
To trouble shoot do the following:

Run the following from the DA: 
  • curl -v http://<expected IP>:8281/EventManager/EventManagerWS.asmx?wsdl 
This command should succeed.  If it doesn't then the IP is wrong in the event manager general table possibly because there are multiple nics on the box

Do the following:
  • Edit the Event Manager data source and change the IP in the Host Name dialog box to the correct IP address. This is going to update the "General" table for the EM database after it syncs.  You can verify that by doing the following
    • mysql -unetqos -pnetqos em 
    • select * from general; 
  • Assuming it updates run: update em.data_sources set LastEvent=0,ConsumerID=0 where sourceid = DA'sSourceID;  This will re-register the event manager with the data aggregator
  • Then run http://DA:8581/rest/emregistration It should show the new address at this point and you should now see events in the CAPC event dashboard