APM SaaS integration to Spectrum 10.4.2 not working
search cancel

APM SaaS integration to Spectrum 10.4.2 not working

book

Article ID: 218929

calendar_today

Updated On:

Products

DX OI SaaS

Issue/Introduction

After enabling APM SaaS to Spectrum 10.4.2 integration we see the below exception in the spectrum log:

..

 line: 1, column: 109] (through reference chain: com.ca.spectrum.app.integration.dxi.saas.response.DxiApmAlertResponse["hits"]->com.ca.spectrum.app.integration.dxi.saas.response.Hits["total"])
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:270)
at com.fasterxml.jackson.databind.DeserializationContext.reportMappingException(DeserializationContext.java:1234)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1122)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1075)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer._parseInteger(StdDeserializer.java:469)
at com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:301)
at com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:279)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:504)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:104)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:276)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:140)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:504)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:104)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:276)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:140)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3814)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2877)
at com.ca.spectrum.app.integration.scheduler.DxiAlertResponseParser.parse(DxiAlertResponseParser.java:18)
... 5 more
 

Environment

APM SaaS and Spectrum server 10.4.2

Cause

The alarm response coming from OI  for the property "total" is

"hits": {

        "total": {

            "value": 2,

            "relation": "eq"

        },

 

in 10.4.2, It was 

        "hits": {

                       "total": 2

}

 

causing the parsing issue. This defect is fixed in 10.4.3 and above.

Resolution

Upgrade to Spectrum 10.4.3.

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/10-4-3/integrating/ca-apm-and-ca-spectrum/support-for-spectrum-integration-with-apm-saas-and-dxi.html