|
2#
楼主 |
发表于 2008-1-3 15:24:54
|
只看该作者
安装apache
linux上安装apache. /bin/apachectl –v
Server version: Apache/2.0.54.
修改conf/httpd.conf
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order Deny,Allow
#Deny from all
Allow from all
</Location>
测试:
http://10.0.4.81:2068/server-status?auto&refresh=Y成功。
Loadrunner加入监控
端口:2688,url: /server-status?auto
错误:
Monitor name :Apache. Parsing error, cannot find token: BusyServers. Measurement: BusyServers|10.0.4.81. Hints: 1) Such a measurement does not exist, or the html page may be different from the supported one. 2) Try to replace the Apache.cfg with appropriate Apache_<version>.cfg file in <Installation>\dat\monitors and rerun the application (entry point: CApacheMeasurement::NewData). [MsgId: MMSG-47479]
解决
因为<Installation>\dat\monitors\apache.cfg针对apache 1.x的status指标,与apache 2.0度量指标失配。
故采用apache_2.0.x.cf 更名apache.cfg。
因为<Installation>\dat\monitors\apache.cfg针对apache 1.x的status指标,与apache 2.0度量指标失配。
故采用apache_2.0.x.cf 更名apache.cfg。
不太明白这个在那设置!? |
|