LR监控Apache,添加Apache CPU Usage (Apache)出错
apache.cfg经修改后#Idle Workers (Apache)、#Busy Workers (Apache)都已可用,而添加Apache CPU Usage (Apache)却出错了,出错信息:Monitor name :Apache. Parsing error, cannot find token: CPULoad. Measurement: CPULoad|localhost. 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).
apache.cfg关于CPU一项为
Counter4=BusyWorkers
Label4=#Busy Workers (Apache)
Description4=Number of servers in the Busy state
默认没经过修改,好像相关配置说明中都没提到过关于CPU的这项修改 楼主需要确认下装的apache 为1.x 还是2.x 配置文件不同的 现在用的是2.2.8
不过今天启用了apache2.2.8,不启动IBM_HTTP_Server/6.0.2.13 Apache/2.0.47,
连http://localhost/server-status都提示404无法找到文件错误了
原先启用IBM_HTTP_Server/6.0.2.13 Apache/2.0.47是没这个问题,但现在只能启用apache2.2.8,不能启用IBM_HTTP_Server/6.0.2.13 Apache/2.0.47,不知道哪里出错了:Q 把windows版单独安装的228卸载了,保留安装ClearQuest时自带的IBM_HTTP_Server/6.0.2.13 Apache/2.0.47,可以监控,但CPU那项还是无法监控 检查apacheerror_log或者access_log看看有无错误报告 日志信息并没有什么特别,只是记录了File does not exist之类的错误
偶也遇到这个问题了
请问楼主这个问题解决了吗? 我今天也碰到这个问题,有人知道吗? 更改LRHP\LoadRunner\dat\monitors下的apache.cfg文件将Counter0=Idleserver
Label0=#Idle server (Apache)
Counter4=Busyserver
Label4=#Busy server (Apache)
Description4=Number of servers in the Busy state
将这几句中的server都改成Workers
重启LR就可以了~!
页:
[1]