|
本帖最后由 城邦 于 2013-5-13 09:39 编辑
我已按LR的help中的步骤作操了:
To configure the rstatd daemon:
1 Run the command: su root
2 Go to /etc/inetd.conf and look for the rstatd row (it begins with the word
rstatd). If it is commented out (with a #), remove the comment directive,
and save the file.
3 From the command line, run:
kill -1 inet_pid
where inet_pid is the pid of the inetd process. This instructs the inetd to
rescan the /etc/inetd.conf file and register all daemons which are
uncommented, including the rstatd daemon.
4 Run rup again.
而且,在被监控的unix机器上执行:rup 被监控IP,返回:rup: RPC: Success.
补充一下,我也安装了rstatd了。
但为什么在加载unix计数器,再加入被监控IP,却无法监控。报如下错误:
Monitor name :UNIX Resources. Internal rpc error (error code:4). Machine: 10.17.36.214. Hint: Check that RPC on this machine is up and running. Check that rstat daemon on this machine is up and running (use rpcinfo utility for this verification). Details: RPC: RPC call failed.
RPC-TCP: recv()/recvfrom() failed.
RPC-TCP: recv()/recvfrom() failed.
WinSock: Connection reset by peer. (entry point: Factory::CollectData). [MsgId: MMSG-47197]
请各位高手指点一下。
[ 本帖最后由 girl04 于 2006-4-14 15:01 编辑 ] |
|