Add Machine dialog box

This dialog box enables you to add the machine that you want to monitor to the Monitored Server Machines list.

To access, on the Controller Run tab, click > Add Measurements for a graph. In the dialog box that opens, click Add in the Monitored Server Machine section.

Monitored machine information

The most common user interface elements are described below. Some monitors require additional information, see the relevant help pages for setting up the monitors.

For SiteScope monitoring, see SiteScope server information.

UI Element Description
Name
The name or IP address of the machine that you want to monitor.
  • SNMP monitor: If the SNMP agent is running on a different port than the default SNMP port, you need to define the port number using the format: <server name>:<port number>

  • MS IIS monitor: To monitor an IIS server through a firewall, use TCP, port 139.

  • Tuxedo monitor: For multiple instances of the Tuxedo monitor on the same machine, enter the port number of each monitor to distinguish each instance using the format: <machine name>:<port number>
Platform

Type of platform (Windows or Linux) of the machine you want to monitor.

Note: This field is disabled for monitor configurations that do not have platform specifications (such as Apache), or when the monitor is intended to be used with a single platform type.

Use SSH

Relevant for UNIX resources monitoring.

  • To use SSH: Select the Use SSH check box and enter the user name to connect (and password, if relevant).

    Note the following regarding the SSH password:

    • The password entered here is encrypted using a shared key included in the LoadRunner Professional installation. If you change the shared key using the Network and Security manager (lr_agent_settings command line tool), you must re-enter the password here. For details, see Network and Security Manager.

    • (Supported from version 24.3) To connect without using a password, you must add configuration for a public key. For details, see SSH authentication without a password.
  • To use RSTATD: If the Use SSH check box is not selected, RSTATD is used by default (make sure that RSTATD daemon is configured on the server).

Back to top

SiteScope server information

For SiteScope server monitoring there are additional user interface elements:

Note: In order to connect to a Sitescope server with specific credentials, you must first stop the Sitescope monitor and remove all of its counters.

UI Element Description
Name
The name of the SiteScope server.
Port
The SiteScope port.
Default: 8888
Use Secure HTTP
Uses a secure HTTP connection to the SiteScope server.
<User account details>
Provide details for the specific SiteScope account to use:
  • Account. Internal SiteScope account name.

  • Username. The display name of SiteScope account.

  • Password. The password for the SiteScope account.

Back to top

SSH authentication without a password

Version support: This functionality is supported from version 24.3.

When using SSH authentication for a Linux machine, you can configure your environment so that a password is not required for connecting to the monitored machine. This is done by adding a public key.

Caution: When no password is defined for SSH authentication in the Add Machine dialog box, you can still add the monitor and measurements. However, if the public key is not configured, there will be a connection error when you run the scenario.

To connect with SSH without a password:

  1. Generate a public key on the machine you want to monitor.

  2. On the Controller machine, open the .ssh folder in your Users folder. Default path: C:\Users\<User name>\.ssh. (If the .ssh folder does not exist, create it.)

  3. Add the public key in the .ssh folder.
  4. Open the ...\.ssh\config file in a text editor. (If the config file does not exist, create it.)
  5. Define the following in the config file for each host:

    Property Value
    Host The monitored machine name, as defined in the Name field of the Add Machine dialog box.
    HostName The full name of the monitored machine on the network.
    User

    The user defined in the SSH User Name field of the Add Machine dialog box.

    IdentityFile

    The path to the key, for example, ~/.ssh/<name of the public key>

    For example:

    Copy code
    Host my-machine
        HostName my-machine name.company.net
        User my-name
        IdentityFile ~/.ssh/my-machine-key

Back to top

See also: