Some Webservers are showing availability status=0 and have no metrics
search cancel

Some Webservers are showing availability status=0 and have no metrics

book

Article ID: 115912

calendar_today

Updated On:

Products

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

Issue/Introduction

Configured the PPWebServers with AutoDiscovery. This works and gets metrics from the majority of webservers.

However there are four webservers that give a similar message. They are listed in the console under "Monitored Servers" but do not have any metrics.
I only see "Availability" and although the server is running I see the Availability Status=0. (All the 'working ones' show =1).

/apm/Introscope10.5.2/StandaloneAgentPP/PPWebServers/logs/WebServerAgent.log I see the following error messages for these

[ERROR] [WebServerMonitor] Could not get metrics from server : https://1pp14t.pfshohp.com:443 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1931) at com.wily.webservermonitor.ApacheMonitor.reportPerformanceMetrics(ApacheMonitor.java:80) at com.wily.webservermonitor.AWebServerMonitor$Executor.run(AWebServerMonitor.java:158)
[ERROR] [WebServerMonitor] Could not get metrics from server : https://1pp14d.pfshohp.com:443 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1931) at com.wily.webservermonitor.ApacheMonitor.reportPerformanceMetrics(ApacheMonitor.java:80) at com.wily.webservermonitor.AWebServerMonitor$Executor.run(AWebServerMonitor.java:158)
[ERROR] [WebServerMonitor] Could not get performance metrics from server : https://popa14t.pfshohp.com:443/server-status?auto 
[ERROR] [WebServerMonitor] Could not get performance metrics from server : https://192.168.206.5:443/server-status?auto 
[ERROR] [WebServerMonitor] Could not get performance metrics from server : https://192.168.206.4:443/server-status?auto 
[ERROR] [WebServerMonitor] Could not get performance metrics from server : https://192.168.206.6:443/server-status?auto 
[ERROR] [WebServerMonitor] Could not get metrics from server : https://1pp14t.pfshohp.com:443 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1931) at com.wily.webservermonitor.ApacheMonitor.reportPerformanceMetrics(ApacheMonitor.java:80) at com.wily.webservermonitor.AWebServerMonitor$Executor.run(AWebServerMonitor.java:158)
[ERROR] [WebServerMonitor] Could not get metrics from server : https://1pp14d.pfshohp.com:443 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1931) at com.wily.webservermonitor.ApacheMonitor.reportPerformanceMetrics(ApacheMonitor.java:8

Environment

IBM HTTP Servers
 AIX Server

Cause


1.  One of the four had the allow, deny for mod_status had in the httpd.conf file incorrectly
2. Did not have extended stats module "on"
3. This page was being protected by Siteminder so login was required. Needed to unprotected the /server-status page.

Resolution

1. Corrected allow, deny for mod_status that was not in the httpd.conf file correctly
2. Configured extended stats module "on"
3. Unprotected the /server-status page.