loadrunner監控apache2.X

發表于:2009-04-02來源:作者:點擊數: 標簽:loadrunnerLoadRunnerLoadrunnerloadRunner
安裝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.
安裝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。

原文轉自:http://www.anti-gravitydesign.com

国产97人人超碰caoprom_尤物国产在线一区手机播放_精品国产一区二区三_色天使久久综合给合久久97