The APM Web Server Agent is unable to collect Metrics - Errors include 'No appropriate protocol' and 'Could be due to unsupported protocol or cipherSuite being used'

book

Article ID: 8688

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction

The APM Web Server Agent is unable to collect Metrics.

For CA APM for Web Servers Agent 9.7 the following error is seen in the log files:

 [ERROR] [WebServerMonitor] Could not get metrics from server : https://mywebserver:443/server-status 

javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 

 

When using version 10.5.1 the following error is seen in the logs:

[ERROR] [WebServerMonitor] Could not get metrics from server : https://mywebserver:443/server-status Could be due to unsupported protocol or cipherSuite being used 

javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

Cause

The default protocol for connecting to the web server is SSL. If your web server is expecting a TLS connection and you haven't specified this in the configuration file, then you will see the above errors.

Environment

CA APM for Web Servers Agent 9.7 and above monitoring a Web Server expecting a TLS connection.

Resolution

Add the Protocol="TLS" parameter to the Web Server definition in the WebServerConfig.xml file. For example:

<WebServer Type="Apache:IBM_HTTP_SERVER" Enabled="true" ServerURL="https://mywebserver:443/server-status" Protocol="TLS" 

DisplayName="IB-mywebserver-was" RefreshFrequencyInSeconds="15" Mode="Permissive"/>

Additional Information

Manually Configure CA APM for Web Servers