MSA Ports Average Response Time
Custom.MSA.P2000.CustomUnitMonitor.portAvgRespTime (UnitMonitor)
Element properties:
Source Code:
<UnitMonitor ID="Custom.MSA.P2000.CustomUnitMonitor.portAvgRespTime" Accessibility="Internal" Enabled="true" Target="Custom.MSA.P2000.ClassCustom.HostPort" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Custom.MSA.P2000.Custom.UnitMonitorType.Port" ConfirmDelivery="true">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Custom.MSA.P2000.CustomUnitMonitor.portAvgRespTime_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Custom.MSA.P2000.ClassCustom.MSA.Instance"]/msaName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="Custom.MSA.P2000.ClassCustom.HostPort"]/portName$</AlertParameter2>
<AlertParameter3>$Data/Context/Property[@Name='portAvgResponseTime']$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateId184d7f0c91a24a3593d24e7ece1d5410" MonitorTypeStateID="UnderWarinig" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateId929327d6573e499f93cc46932bfeb4be" MonitorTypeStateID="OverWarning" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateIde85933e4e327461298464e40382b8a82" MonitorTypeStateID="OverError" HealthState="Error"/>
</OperationalStates>
<Configuration>
<portName>$Target/Property[Type="Custom.MSA.P2000.ClassCustom.HostPort"]/portName$</portName>
<folderPath>$Target/Host/Property[Type="Custom.MSA.P2000.ClassCustom.MSA.Instance"]/folderPath$</folderPath>
<IntervalSeconds>300</IntervalSeconds>
<WarningThreshold>20</WarningThreshold>
<ErrorThreshold>200</ErrorThreshold>
<CounterName>portAvgResponseTime</CounterName>
</Configuration>
</UnitMonitor>