51Testing软件测试论坛

标题: 请教lr监控linux资源的问题!~~~ [打印本页]

作者: 里米特    时间: 2007-4-23 20:03
标题: 请教lr监控linux资源的问题!~~~
linux服务器是远程的. 企业版的,远程已经启动了rpc.rstatd,ps -A显示进程中已经有了.

lr中填入IP和所需要计数器,结果报错.

Monitor name :UNIX Resources. Cannot initialize the monitoring on 61.172.240.116. Error while creating the RPC client. Ensure that the machine can be connected and that it runs the rstat daemon (use rpcinfo utility for this verification). Detailed error: RPC: Failed to create RPC client.

这个是什么原因?? 上课的时候好象记得需要先登陆服务器的??需要先取得访问权限么??如何做呢.
作者: 里米特    时间: 2007-4-23 20:04
还有大家有什么能监控linux资源的工具么??
作者: 海龙    时间: 2007-4-23 21:23
Linux具体什么版本 ?
作者: 里米特    时间: 2007-4-24 09:41
LSB Version:  1.3
Distributor ID:RedHatEnterpriseAS
Description:   Red Hat Enterprise Linux AS release 4 (Nahant Update 1)
Release: 4
Codename: NahantUpdate1

进程中已经启动 rpc.idmapd  rpc.rquotad  rpcido  rpc.mountd  rpc.rstatd

一开始装完后启动rpc.rstatd 时系统提示
Cannot register service: RPC: Unable to receive; errno = Ction refused

后来我开了portmap start 和 nfs start 后成功启动 rpc.rstatd
作者: 海龙    时间: 2007-4-24 21:26
我没有Update 1版本


Linux版本:Red Hat Enterprise Linux AS release 4  (Nahant Update 4)

执行以下命令在linux上安装启动rstatd:
gzip  -d rpc.rstatd-4.0.1.tar.gz
tar xvf rpc.rstatd-4.0.1.tar
cd  rpc.rstatd-4.0.1
./configure
make
make install ---安装
rpc.rstatd ---启动rstatd进程

在Loadrunner中添加Unix  resources监控,添加服务器IP地址,选择计数器,监控成功
作者: 里米特    时间: 2007-4-25 10:18
一开始就是按上面流程安装的.
作者: 海龙    时间: 2007-4-25 12:22
还没有好吗?




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2