TFS Event 6006 Monitor

TeamFoundationServer2017.TfsEvent6006Monitor (UnitMonitor)

Monitor for TFS Event 6006 - Performance Counter Initialization

Knowledge Base article:

Summary

TFS Event 6006 occurred. This event is raised by the server object model when the performance service encounters an error initializing the performance counters.

Resolutions

Check for recent configuration changes on the server, restoring any changes that may have triggered this error.

Element properties:

TargetTeamFoundationServer2017.TfsAppComponentBase
Parent MonitorSystem.Health.AvailabilityState
CategorySecurityHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeTeamFoundationServer2017.TfsSingleEventLogUnitMonitor
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="TeamFoundationServer2017.TfsEvent6006Monitor" Accessibility="Public" Enabled="true" Target="TeamFoundationServer2017.TfsAppComponentBase" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="TeamFoundationServer2017.TfsSingleEventLogUnitMonitor" ConfirmDelivery="true">
<Category>SecurityHealth</Category>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Warning"/>
<OperationalState ID="TimerEventRaised" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<EventDisplayNumber>6006</EventDisplayNumber>
<TimerWaitInSeconds>600</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>