LoadRunner Monitoring Linux

Source: Internet
Author: User

Need to download 3 packages: Address link: Link: https://pan.baidu.com/s/1lltAa6JnjJ7Mr88duixUSQ Password: 5YIW
(1) rsh-0.17-14.i386.rpm
(2) rsh-server-0.17-14.i386.rpm
(3) rpc.rstatd-4.0.1.tar.gz

First, installation rsh

See if RSH is installed and uninstalled

[Email protected]/]# RPM-QA |grep rsh--see if RSH is installed

[[email protected]/]# RPM-E + version number--Uninstall this version

Installing Rsh,rsh-server

[Email protected]/]# RPM-IVH rsh-0.17-14.i386.rpm

[Email protected]/]# RPM-IVH rsh-server-0.17-14.i386.rpm

or [[email protected]/] #yum-y install rsh*

Second, installation rstatd Link: Link: https://pan.baidu.com/s/1lU0_3NWA0kVuXCJSFKFSuA Password: i4so

Download and install RSTATD,:HTTP://SOURCEFORGE.NET/PROJECTS/RSTATD, upload to/usr/local

See if it's installed and Linux is not installed in general

[Email protected]/]# Find/-name rpc.rstatd

Installing RSTATD

[Email protected]/]# TAR-XZVF rpc.rstatd-4.0.1.tar.gz

[[email protected]/]# Centos7 is yum install Rusers-server

In order to solve the following problems: Centos7

Monitor Name:unix Resources. Internal RPC Error (Error code:2). machine:192.168.1.34. Hint:check that RPC on the this machine was up and running. Check that Rstat daemon on the This machine is up and running (use Rpcinfo utility for this verification). Details:RPC:RPC call failed.
RPC-TCP:RECV ()/recvfrom () failed.
Rpc-tcp:timeout reached. (Entry Point:factory::collectdata). [msgid:mmsg-47197]

The steps are as follows:

    • Installing the RPC service Yum install Rusers-server
    • Start Service/etc/init.d/rstatd Start
    • Rpcinfo-p See if a few rstatd services have been started
    • /etc/init.d/iptables Stop shutting down the firewall (important)
    • Back in the controller, drag the UNIX resources in system resource graphs to the right monitoring area.
    • Right-click ADD measurements.
    • After adding the monitored Linux IP address, then select the monitoring indicator.

[Email protected]/]# CD rpc.rstatd-4.0.1

[Email protected]/]#./configure

Error, the solution is as follows

[email protected]/]# Yum install gcc*

[[email protected]/]# make

There is an error, we do not have the make command package

Resolved as follows

[[email protected]/]# Yum install make

[[email protected]/]# make install

third, after the installation is complete configuration rstatd Target Daemon Process xinetd , the configuration file is in /ETC/XINET.D directory under

Modify the Disable in the 3 conf (rogin,rsh,rexec) below the/ETC/XINETD.D directory to set to No

[[email protected]/]# CD/ETC/XINETD.D--Go to the/etc/xinetd.conf directory

[[Email protected]/]# VI rlogin--edit Disable=no, save

[Email protected]/]# VI rsh--edit Disable=no, save

[[Email protected]/]# VI rexec--edit Disable=no, save

Four, start rpc.rstatd

[[email protected]/]# RPC.RSTATD--Start the RPC.RSTATD process

An error.

Here's how to fix it

Link: Https://pan.baidu.com/s/1lU0_3NWA0kVuXCJSFKFSuA Password: i4so have portmap file, look for

RPM-IVH portmap-4.0-65.2.2.1.x86_64.rpm or yum install h Portmap

[[email protected]/]# rpcinfo-p--Perform this command to check the status of the RPC service

Five, close the firewall

[[Email protected]/]# service iptables stop centos7 off Firewall command: Service FIREWALLD stop

LoadRunner Monitoring Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.