Monitor to detect event 4230 - Database Instance Exception
TFS Event 4230 occurred. Raised to indicate the instance id of the database did not match that of the server object model's ServiceHost instance.
The most likely cause of this error is manual changes to the database. Restore the database to a state before these changes were made, or contact the person responsible for the database changes for support.
Target | TeamFoundationServer2017.TfsAppComponentBase | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | SecurityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | TeamFoundationServer2017.TfsSingleEventLogUnitMonitor | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="TeamFoundationServer2017.TfsEvent4230Monitor" Accessibility="Public" Enabled="true" Target="TeamFoundationServer2017.TfsAppComponentBase" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="TeamFoundationServer2017.TfsSingleEventLogUnitMonitor" ConfirmDelivery="true">
<Category>SecurityHealth</Category>
<AlertSettings AlertMessage="TeamFoundationServer2017.TfsEvent4230MonitorAlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Error"/>
<OperationalState ID="TimerEventRaised" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<EventDisplayNumber>4230</EventDisplayNumber>
<TimerWaitInSeconds>86400</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>