CPU used by SQL Server
ozsoft.sap.Monitor.MSSQL.CPU.CPUUsedbySQL (UnitMonitor)
CPU used by MS SQL Server (\%)
Element properties:
Source Code:
<UnitMonitor ID="ozsoft.sap.Monitor.MSSQL.CPU.CPUUsedbySQL" Accessibility="Public" Enabled="false" Target="ozsoft.sap.MSSQL" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="ozsoft.sap.CCMSMetricMonitorType2" ConfirmDelivery="false">
<Category>Operations</Category>
<AlertSettings AlertMessage="ozsoft.sap.Monitor.MSSQL.CPU.CPUUsedbySQL.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>CPU Used by SQL</CounterName>
<ObjectName>CPU</ObjectName>
<Frequency>900</Frequency>
<HighThreshold>95</HighThreshold>
<LowThreshold>85</LowThreshold>
</Configuration>
</UnitMonitor>