We have integrated CA APM 10.7 Hf 79 with DOI SaaS and we are able to see alarms in OI console, but APM inventory, metrics and topology is not being populated in OI.
The MOM IntroscopeEnterpriseManager.log is showing following message:
[ERROR] [APM.OI.MetricDataConsumer-11] [Manager.APM.OI] Error posting metrics to NASS. org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://apmgtw.dxi-na1.saas.broadcom.com:443/metadata/registerMetric": null; nested exception is org.apache.http.client.ClientProtocolException
java.io.IOException: org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://apmgtw.dxi-na1.saas.broadcom.com:443/metadata/registerMetric": null; nested exception is org.apache.http.client.ClientProtocolException
at com.ca.apm.oi.core.process.MetricDataNASSConsumer.registerMetrics(MetricDataNASSConsumer.java:386)
at com.ca.apm.oi.core.process.MetricDataNASSConsumer.registerMetrics(MetricDataNASSConsumer.java:266)
at com.ca.apm.oi.core.process.MetricDataNASSConsumer.ingestAgentMetricData(MetricDataNASSConsumer.java:124)
at com.ca.apm.oi.core.process.MetricDataNASSConsumer.run(MetricDataNASSConsumer.java:106)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://apmgtw.dxi-na1.saas.broadcom.com:443/metadata/registerMetric": null; nested exception is org.apache.http.client.ClientProtocolException
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:696)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:644)
at com.ca.apm.oi.core.process.MetricDataNASSConsumer.registerMetrics(MetricDataNASSConsumer.java:291)
... 6 more
Caused by: org.apache.http.client.ClientProtocolException
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:687)
... 8 more
Caused by: org.apache.http.ProtocolException: The server failed to respond with a valid HTTP response
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:151)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
... 14 more
Release : 10.7.0
Component : APMITG
Found two issues in this case.
1 - In IntroscopeEnterpriseManager.properties the values of following two properties were not correct.
introscope.enterprisemanager.doi.metric.metadata.baseurl
introscope.enterprisemanager.doi.metric.nass.baseurl
The value of both properties should be:
https://apmgw.dxi-na1.saas.broadcom.com:443
2 - In config.yml the "proxy configuration settings" were not correct.
The values should be (example):
proxyConfiguration:
proxyHost: <proxy hostname>
proxyPort: 80
proxyScheme : http