Adding Microsoft Windows Performance Monitor sources

You must add and configure the Microsoft Windows Performance Monitor data source to capture resource monitoring data.

Before you begin

You must have completed following tasks:

  • Ensured that the host that you want to monitor must be accessible through the Windows network.

  • Enabled the File and Printer Sharing option on the computer running the Windows operating system. For more information refer to the Microsoft Community forum.

  • Disabled the Simple File Sharing option, where remote connections are processed as access by the Guest user.

  • Ensured that you have not set system policies, so that remote connections are processed as access by the Guest user. For more information refer to the Microsoft documentation.

About this task

The Windows Performance Monitor option is enabled only for Microsoft Windows computers. If you monitor the source from a non-Windows computer, this option is disabled. The resource monitoring data is collected by using the net use command by establishing a connection between remote computers.

If you can connect to a shared hard disk drive on the remote host from HCL OneTest Performance, then you can collect resource monitoring data from Windows Performance Monitor on the remote host. If the File and Printer Sharing option is disabled on the remote host and you attempt to set up resource monitoring in a schedule, then the following error message is displayed:

IWAY0241E The host name IP_address is either not a known host or is not a Windows host.

Procedure

  1. Click the Location tab and perform the following steps:
    1. Enter the following details of the Windows operating system for which you want to collect resource monitoring data:
      Fields Actions
      User

      Enter a user ID of the Windows operating system.

      Note: The user ID must correspond to a user that is a member of the Performance Monitor Users group or the Administrators group on the computer from which you want to collect resource monitoring data. If the user is not in the corresponding group on the computer that you want to monitor, no Windows Performance Monitor data is collected.
      Password

      Enter a password that is associated with the user ID.

      Domain

      Optional: Enter the domain name where you hosted Windows Performance Monitor.

      Note: If you hosted Windows Performance Monitor in a different domain, then you cannot capture resource monitoring data from the source.
    2. Select the Save Password checkbox to save your password locally.

      If you do not save your password, depending on the host system configuration, you might have to provide password each time when you edit the configured location or run schedules that uses the location.

  2. Click the Resource tab and perform the following steps:
    1. Select the required checkboxes to capture the type of data.

      The tree view shows the host and all its counter groups and counters.

    2. Select the Show only selected counters checkbox to view only the selected counters.
    Tip: Monitoring all possible resource data requires substantial amounts of memory. You can place your mouse pointer over a counter to view details about the counter and its measures.
  3. Click the Options tab and perform the following steps:
    1. Enter a value in the Polling Interval (in seconds) field to collect resource data at specified interval.
      For example, if you accept the default value of 5 seconds, then the counter information is collected at five second intervals from the specified host during the schedule run.
    2. Enter a value in the Timeout Interval (in seconds) field to log an error in the test log.

      If the resource monitoring host does not respond within the specified time during a schedule run, an error is logged.

  4. Click the Cloud Options tab, and then select the Location In Public Cloud checkbox to collect the resource monitoring data for the system under test that is in the public cloud.
  5. Click Next.
  6. Select a project from the list to save the location of the new resource monitoring.
  7. Enter a name for the location of the resource monitoring in the Name field, and then click Finish.

Results

You have added the Windows Performance Monitor source.

What to do next

You can run the schedule to collect the resource monitoring data from the Windows Performance Monitor source. See Running a local schedule or test.