淘宝商城(天猫)高级技术专家.3年研发+3年性能测试调优/系统测试+4年团队管理与测试架构、研发系统实践. 新舞台新气象, 深化测试基础架构及研发架构,希望能在某个技术领域成为真正的技术大牛。欢迎荐才http://bbs.51testing.com/viewthread.php?tid=120496&extra=&page=1 .邮件: jianzhao.liangjz@alibaba-inc.com,MSN:liangjianzhao@163.com.微博:http://t.sina.com.cn/1674816524

loadrunner监控apache2.X

上一篇 / 下一篇  2007-03-29 13:45:53 / 个人分类:loadrunner性能测试经验

loadrunner监控apache

安装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.xstatus指标,与apache 2.0度量指标失配。

故采用apache_2.0.x.cf更名apache.cfg


TAG:

 

评分:0

我来说两句

Open Toolbar