DB File Free Space in File

ozsoft.sap.Monitor.MSSQL.DBFile.FileFreeSpace (UnitMonitor)

SQL Server DB File Free Space in File

Element properties:

Targetozsoft.sap.MSSQL.DBFile
Parent MonitorSystem.Health.PerformanceState
CategoryOperations
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor Typeozsoft.sap.CCMSMetricMonitorType2
RemotableTrue
AccessibilityPublic
Alert Message
DB File Free Space in File
{0} : {1} has a value {2}
RunAsDefault

Source Code:

<UnitMonitor ID="ozsoft.sap.Monitor.MSSQL.DBFile.FileFreeSpace" Accessibility="Public" Enabled="true" Target="ozsoft.sap.MSSQL.DBFile" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="ozsoft.sap.CCMSMetricMonitorType2" ConfirmDelivery="false">
<Category>Operations</Category>
<AlertSettings AlertMessage="ozsoft.sap.Monitor.MSSQL.DBFile.FileFreeSpace.AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/ObjectName$</AlertParameter1>
<AlertParameter2>$Data/Context/CounterName$</AlertParameter2>
<AlertParameter3>$Data/Context/Value$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Under" MonitorTypeStateID="SDKMetricUnderLowThreshold" HealthState="Success"/>
<OperationalState ID="Between" MonitorTypeStateID="SDKMetricUnderHighOverLowThreshold" HealthState="Warning"/>
<OperationalState ID="Over" MonitorTypeStateID="SDKMetricOverHighThreshold" HealthState="Error"/>
</OperationalStates>
<Configuration>
<CounterName>Free Space in File</CounterName>
<ObjectName>DBFile</ObjectName>
<Frequency>900</Frequency>
<HighThreshold>100</HighThreshold>
<LowThreshold>50</LowThreshold>
</Configuration>
</UnitMonitor>