Overview
Citrix MetaFrame Performance Monitor Counters are not only important to monitor a MetaFrame server farm’s health, but they are vital for functionality, such as in the case with Resource Manager or Load Balancing.
Citrix MetaFrame installs the following three Performance Monitor objects:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009
Counter REG_MULTI_SZ
Help REG_MULTI_SZ
The values for the counters originate from the following registry keys:
Citrix MetaFrame Presentation Server = HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MetaframeXP\Peformance
Library = mfxpperf.dll
ICA Sessions =
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CitrixICA\Peformance
Library = icaperf.dll
IMA Networking =
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IMAService\Peformance
Library = imaperf.dll
The Library value indicates the DLL that communicates with Performance Monitor Counter values. Applications can retrieve values by calling registry interfaces (HKEY_PERFORMANCE_DATA) or by using Microsoft’s Performance Data Helper API functions.
Note: Refer to the Additional Information section for more information.
Environment
Problem Definition
Citrix Performance Monitor object “Citrix MetaFrame Presentation Server” is not visible in an ICA or RDP session.
Troubleshooting Methodology
A test was conducted by running the Performance Monitor from the console which showed all counters were visible. When connecting with RDP or ICA, Citrix MetaFrame Presentation Server was not visible.
Sample app PDHXP using PDH API calls exhibited the same results.
Note: PDHXP is available from Citrix Technical Support.
Resolution
The Mfxpperf.dll had an issue when it did not register itself globally. This has been resolved in a post MetaFrame Presentation Server 3.0 Hotfix Rollup Pack or in Citrix Presentation Server 4.0.
Problem Definition
Citrix Performance Monitor objects have corrupted counters or are missing completely from the console session.
Troubleshooting Methodology
Verify Citrix Performance Monitor objects are not available from the Performance Monitor on the console.
Verify the counters have not been disabled with Exctrlst.exe (see Microsoft article 248993 – PRB: Performance Object Is Not Displayed in Performance Monitor.)
Resolution
This may have been caused by a third-party application improperly altering performance counters in the registry.
This example is written for the Danish-language, but the Country code can be changed to anything may have on the system:
Caution! This fix requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.
How to repair performance monitor counters on an English-only server
Caution! This fix requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.