Troubleshooting monitoring issues for performance counters

Terminal Services Manager uses WTS API, but utilizes Perfmon counters for monitoring CPU usage and Available Memory. If you have empty value for CPU usage and Available Memory, but the rest of your data is stable, then it is likely there is an issue with Perfmon on the monitored server.

To troubleshoot this issue:

1. Click on the Start Menu and click Run...

2. Type perfmon into the Run command prompt and click OK.

3. You will then see the Performance Monitor pop up.

4. Click on the green ‘+’ sign near the top of the Performance Monitor Window to bring up the Add Counters window.

5. Specify the UNC path of your remote machine. When you are finished adding the path, Perfmon will pause while it automatically attempts to make a connection.

6. If the connection is successful, you should be returned with a listing of all of the available Perfmon performance counters for your remote machine.

7. If the connection fails, please attempt the same procedure from the local machine to itself, and from the remote host to itself, to isolate the issue down to the remote host or the local machine.

If you are unable to make a connection using the perfmon.exe utility on your local machine to your remote host, Terminal Services Manager will be unable to do so as well. This indicates an issue not with Terminal Services Manager, but with your Windows configuration or authentication.

Resolution

Many errors are permissions related. The log in is valid however it does not have access rights to read the Performance counters. Performance monitoring can be restricted by a lack of Local Administrator credentials, registry permissions problems, Local Policies, or Group Policies in Active Directory.

Account Rights

Because Perfmon accesses performance counters from remote hosts, Terminal Services Manager will need to be running under a user that has Local Administrative rights on the remote host that you are attempting to monitor.

Ensure the account or group that you are logging into, like a “Domain Admin”, is actually in the local “Administrators” security group.

Services

If you cannot get a connection established via the Perfmon utility, the issue may be that certain services need to be running on the host being monitored for Perfmon to respond to RPC queries.

The following services must set to an Automatic startup type:

  • Remote Procedure Call (RPC)
  • Remote Registry

In addition, the following services must set to Manual or greater startup type:

  • WMI Performance Adapter
  • Performance Counter DLL Host
  • Performance Logs and Alerts
  • Remote Procedure Call (RPC) Locator

Ports

Perfmon relies on inbound RPC port 135 TCP and Windows SMB port 445 TCP on the host. When troubleshooting Perfmon connectivity issues, please ensure that these ports are unrestricted in your firewall configuration.

Product Info
Version:
2.8 build 175
Date:
July 18, 2017
Fully-featured 30-day trial