51Testing软件测试论坛

标题: LR监控Linux系统问题 [打印本页]

作者: lihuihuan204    时间: 2015-7-2 13:16
标题: LR监控Linux系统问题
LR11监控外网服务器Linux系统时,总是连接不成功。
rstatd服务已经安装,我直接在Add Measurement 中输入的外网的IP地址。
是端口的问题吗?

谢谢大家了!!
作者: 土土的豆豆    时间: 2015-7-2 13:48
你可以测试直接ping 和远程连接 用第3方的工具登录到Linux外服上看看呢?
一般路通的话肯定能连接上的
当然端口和防火墙等也要考虑进去
作者: hjphy    时间: 2015-7-2 14:17
postmapper和rstatd端口都要开
作者: lihuihuan204    时间: 2015-7-2 14:19
ping可以ping'通,远程连接看了一下 rstatd服务是开启的,portmapper服务也是开启的

LR RUN tab 页面中,Error处的提示是:
Monitor name :UNIX Resources. Cannot initialize the monitoring on ‘外网ip’. 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.
RPC-TCP: Failed to establish RPC server address.
RPC-TCP: Failed to communicate with the portmapper on host ‘外网ip’.

我们的服务器上发布了多个网站,我只是监控其中的一个网站。
我还需要其他的设置吗?是不是需要关闭所有防火墙呢?
谢谢!!
作者: jingzizx    时间: 2015-7-2 16:40
报错无法连接,确认是否启动服务,试一下重启了linux的守护进程 /etc/init.d/xinetd restart;




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