Submit a ticketCall us

WebinarUpcoming Webinar: Know What’s Changed – with NEW Server Configuration Monitor

Change management in IT is critical. But, even with a good change management process, changes are too often not correctly tracked, if at all. The configuration of your servers and applications is a key factor in their performance, availability, and security. Many incidents can be tracked back to an authorized (and sometimes unauthorized) configuration change, whether to a system file, configuration file, or Windows® Registry entry. Join SolarWinds VP of product management Brandon Shopp to discover how the new SolarWinds® Server Configuration Monitor is designed to help you.

Register now.

Home > Success Center > Server & Application Monitor (SAM) > SAM Documentation > SAM 6.6.1 Administrator Guide > Troubleshooting SAM > Troubleshooting Exchange Performance Counters issue in SAM

Troubleshooting Exchange Performance Counters issue in SAM

Updated: 3-9-2017

Occasionally, you may encounter an Exchange server that is missing some of the expected performance counters. If this happens, you need to verify whether the counters are simply disabled or if they are completely missing. The simplest way to do this is through the registry.

  1. Navigate to the service with the missing performance counters.

    Individual services are listed under HKLM\SYSTEM\CurrentControlSet\Services.

  2. Expand the service and click on the Performance key. The important values we want to ensure exist are listed below.
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceName>\Performance]    

    Example: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ESE\Performance]

    "Close"="ClosePerformanceData"
    "Collect"="CollectPerformanceData"
    "Library"="<Path to performance counter DLL file>"    

    Example: "Library"="C:\\Program Files\\Microsoft\\Exchange Server\\V15\bin\\perf\\%PROCESSOR_ARCHITECTURE%\\eseperf.dll"

    "Open"="OpenPerformanceData"
    "PerfIniFile"="<Name of performance counter INI file>" 

    Example: "PerfIniFile"="eseperf.ini"

    The "Library" file path is typically "C:\Program Files\Microsoft\Exchange Server\%ExchangeVersion%\Bin\perf\%Processor_Architecture%\%DLLFileName%"

    File:Success_Center/Reusable_content_-_InfoDev/SAM_Admin_Guide_Reuse/SAM-Admin-MT/0V0/0T0/re1.png

  3. Verify the counters have not been disabled by expand the service and then clicking on the Performance key.
  4. Check for the value Disable Performance Counters If this value exists, ensure the data value is 0. Any other value disables the counters.

    File:Success_Center/Reusable_content_-_InfoDev/SAM_Admin_Guide_Reuse/SAM-Admin-MT/0V0/0T0/re2.png

  5. Once the value is confirmed to be set to 0, close all PerfMon windows and then reopen them.

    The performance counters should be visible at this time. If the performance counters are not visible, proceed to the next step.

  6. If the values First Counter, First Help, Last Counter, and Last Help are listed, it is highly recommended to unload the performance counters prior to reloading them.

    File:Success_Center/Reusable_content_-_InfoDev/SAM_Admin_Guide_Reuse/SAM-Admin-MT/0V0/0T0/re3.png

Unload Performance Counters

  1. Close all PerfMon windows and stop any services which may be using these counters.
  2. Open the Exchange Management Shell (EMS) in the Run as Administrator context.
  3. Type: Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Setup and then press Enter.
  4. Type: Remove-PerfCounters -DefinitionFileName "<Path to counter definition XML file> and then press Enter.

    The default location for Exchange counter definition files is: C:\Program Files\Microsoft\Exchange Server\%ExchangeVersion%\Setup\perf\%XMLFileName%

    File:Success_Center/Reusable_content_-_InfoDev/SAM_Admin_Guide_Reuse/SAM-Admin-MT/0V0/0T0/dos1_754x64.png

Reload Performance Counters

  1. Close all PerfMon windows and stop any services which may be using these counters.
  2. Open the Exchange Management Shell (EMS) in the Run As Administrator context.
  3. Type: Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Setup and then press Enter.
  4. Type: New-PerfCounters -DefinitionFileName "<Path to counter definition XML file> and then press Enter.
    1. The default location for Exchange counter definition files is: C:\Program Files\Microsoft\Exchange Server\%ExchangeVersion%\Setup\perf\%XMLFileName%
  5. Check the application log to verify the counters were properly loaded and no PerfLib errors exist. Reopen PerfMon to ensure the counters are available.

    File:Success_Center/Reusable_content_-_InfoDev/SAM_Admin_Guide_Reuse/SAM-Admin-MT/0V0/0T0/dos1_754x64.png

 
Last modified

Tags

Classifications

Public