配置对IBM Http Server的实时监控
2010-07-13 21:07
309 查看
文件:{HTTPServerInstallPath}/conf/ httpd.conf
找到以下段落,去掉前面的“#”号即可。
LoadModule status_module modules/mod_status.so
<IfModule mod_status.c>
ExtendedStatus On
</IfModule>
<Location /server-status>
SetHandler server-status
</Location>
配置完成,重启web服务器之后,使用“http://ip/server-status?refresh=10”查看。refresh=10表示刷新频率为秒钟。或使用“http://ip/server-status?refresh=auto”查看汇总信息。
默认的httpd.conf相关描述:
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Change the ".example.com" to match your domain to enable.
#
#<Location /server-status>
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from .example.com
#</Location>
## Turn on extended status by default when mod_status is enabled
##
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
#LoadModule status_module modules/mod_status.so
<IfModule mod_status.c>
ExtendedStatus On
</IfModule>
【一个样例如下】:
Apache Server Status for 192.168.0.51
Server Version: IBM_HTTP_Server
Server Built: Dec 4 2008 20:35:45
--------------------------------------------------------------------------------
Current Time: Tuesday, 13-Jul-2010 21:04:47 CST
Restart Time: Wednesday, 07-Jul-2010 19:51:24 CST
Parent Server Generation: 0
Server uptime: 6 days 1 hour 13 minutes 23 seconds
1 requests currently being processed, 49 idle workers
_________________________W________________________..............
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
Scoreboard Key:
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"C" Closing connection, "L" Logging, "G" Gracefully finishing,
"I" Idle cleanup of worker, "." Open slot with no current process
PID Key:
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7158 in state: W , 7158 in state: _
7158 in state: _ , 7158 in state: _ , 7158 in state: _
7158 in state: _ , 7158 in state: _ , 7158 in state: _
7158 in state: _ , 7158 in state: _ , 7158 in state: _
7158 in state: _ , 7158 in state: _ , 7158 in state: _
7158 in state: _ , 7158 in state: _ , 7158 in state: _
7158 in state: _ , 7158 in state: _ , 7158 in state: _
7158 in state: _ , 7158 in state: _ , 7158 in state: _
7158 in state: _ , 7158 in state: _ ,
--------------------------------------------------------------------------------
To obtain a full report with current status information you need to use the ExtendedStatus On directive.
--------------------------------------------------------------------------------
IBM_HTTP_Server Server at 192.168.0.51 Port 80
找到以下段落,去掉前面的“#”号即可。
LoadModule status_module modules/mod_status.so
<IfModule mod_status.c>
ExtendedStatus On
</IfModule>
<Location /server-status>
SetHandler server-status
</Location>
配置完成,重启web服务器之后,使用“http://ip/server-status?refresh=10”查看。refresh=10表示刷新频率为秒钟。或使用“http://ip/server-status?refresh=auto”查看汇总信息。
默认的httpd.conf相关描述:
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Change the ".example.com" to match your domain to enable.
#
#<Location /server-status>
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from .example.com
#</Location>
## Turn on extended status by default when mod_status is enabled
##
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
#LoadModule status_module modules/mod_status.so
<IfModule mod_status.c>
ExtendedStatus On
</IfModule>
【一个样例如下】:
Apache Server Status for 192.168.0.51
Server Version: IBM_HTTP_Server
Server Built: Dec 4 2008 20:35:45
--------------------------------------------------------------------------------
Current Time: Tuesday, 13-Jul-2010 21:04:47 CST
Restart Time: Wednesday, 07-Jul-2010 19:51:24 CST
Parent Server Generation: 0
Server uptime: 6 days 1 hour 13 minutes 23 seconds
1 requests currently being processed, 49 idle workers
_________________________W________________________..............
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
Scoreboard Key:
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"C" Closing connection, "L" Logging, "G" Gracefully finishing,
"I" Idle cleanup of worker, "." Open slot with no current process
PID Key:
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7156 in state: _ , 7156 in state: _
7156 in state: _ , 7158 in state: W , 7158 in state: _
7158 in state: _ , 7158 in state: _ , 7158 in state: _
7158 in state: _ , 7158 in state: _ , 7158 in state: _
7158 in state: _ , 7158 in state: _ , 7158 in state: _
7158 in state: _ , 7158 in state: _ , 7158 in state: _
7158 in state: _ , 7158 in state: _ , 7158 in state: _
7158 in state: _ , 7158 in state: _ , 7158 in state: _
7158 in state: _ , 7158 in state: _ , 7158 in state: _
7158 in state: _ , 7158 in state: _ ,
--------------------------------------------------------------------------------
To obtain a full report with current status information you need to use the ExtendedStatus On directive.
--------------------------------------------------------------------------------
IBM_HTTP_Server Server at 192.168.0.51 Port 80
相关文章推荐
- IBM存储DS4000监控配置手记
- 配置 IBM HTTP Server 以支持 SSL
- 使用coffeescript-maven-plugin,实时监控coffee文件的编译,只需一步配置
- Enabling data compression on an IBM HTTP Server(IBM HTTP Server配置GZIP)
- WAS集群安装<四>IHS(IBM HTTP SERVER)节点安装配置
- IBM Http Server 的安装配置方法
- java读取系统Properties配置文件利用线程实时监控配置文件变化
- Linux流量实时监控工具iftop安装配置
- 使用lesscss-maven-plugin,实时监控less文件的编译,只需一步配置
- IBM http Server 和 WebSphere 配置 SSL 一些需要注意的地方
- java读取系统Properties配置文件利用线程实时监控配置文件变化
- 实时监控、直播流、流媒体、视频网站开发方案流媒体服务器搭建及配置详解:使用nginx搭建rtmp直播、rtmp点播、,hls直播服务配置详解
- IBM InfoSphere DataStage 实时监控和统一运维平台
- 在 ibm http server 和 websphere 之间配置 ssl
- ubuntu16.04,.conkyrc实时监控系统资源动态,效果图与配置文件代码
- IBM Http Server 配置问题
- 简单负载均衡 和 IBM HTTP Server配置
- 八 、DockerUI与Shipyard以及InfluxDB+cAdvisor+Grafana配置监控
- Android中实时视频监控方案设计思路
- centos6.5监控平台ganglia搭建与配置