Monitor to detect event 4004 - Incorrect Size Exception
TFS Event 4004 occurred. Raised by the servicing service when an added servicing resource’s size doesn’t match the provided value.
Check for incomplete installation or attempted installation of incompatible components.
Target | TeamFoundationServer2017.TfsAppComponentBase |
Parent Monitor | System.Health.AvailabilityState |
Category | SecurityHealth |
Enabled | True |
Alert Generate | False |
Alert Auto Resolve | True |
Monitor Type | TeamFoundationServer2017.TfsSingleEventLogUnitMonitor |
Remotable | True |
Accessibility | Public |
RunAs | Default |
<UnitMonitor ID="TeamFoundationServer2017.TfsEvent4004Monitor" 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>4004</EventDisplayNumber>
<TimerWaitInSeconds>600</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>