This monitors the TCP connectivity from the hosting computer to the specified port on the
specified target computer.
Unable to establish a TCP connection between Enterprise Application components. This may impact the health of one or more Enterprise Applications.
The below table lists the status codes that this monitor may return, and their meaning.
Status code | Definition |
0 | Success |
2147952460 | Connection timed out |
2147952461 | Connection refused |
2147952465 | Destination unreachable |
2147953401 | DNS resolution failure |
Failures may be caused by a number of issues related to component availability or configuration. Things to check include:
Network connectivity
Hosting infrastructure availability
Software configuration
Incorrect destination specified at source
Listening port changed at destination
Firewall rule change (source or destination)
Target | SquaredUp.EAM.Library.Class.TcpMonitor.Configuration | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | SquaredUp.EAM.Library.MonitorType.TcpMonitor.TcpProbeMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="SquaredUp.EAM.Library.Monitor.TcpMonitor.ConnectionState" Accessibility="Public" Enabled="true" Target="SquaredUp.EAM.Library.Class.TcpMonitor.Configuration" ParentMonitorID="Health!System.Health.AvailabilityState" TypeID="SquaredUp.EAM.Library.MonitorType.TcpMonitor.TcpProbeMonitorType" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="SquaredUp.EAM.Library.Monitor.TcpMonitor.ConnectionState.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type='SquaredUp.EAM.Library.Class.TcpMonitor.Configuration']/TargetServerName$</AlertParameter2>
<AlertParameter3>$Target/Property[Type='SquaredUp.EAM.Library.Class.TcpMonitor.Configuration']/TargetPort$</AlertParameter3>
<AlertParameter4>$Data/Context/StatusCode$</AlertParameter4>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ConnectionOk" MonitorTypeStateID="ConnectionOk" HealthState="Success"/>
<OperationalState ID="ConnectionFailed" MonitorTypeStateID="ConnectionFailed" HealthState="Error"/>
</OperationalStates>
<Configuration>
<TargetServerName>$Target/Property[Type="SquaredUp.EAM.Library.Class.TcpMonitor.Configuration"]/TargetServerName$</TargetServerName>
<TargetPort>$Target/Property[Type="SquaredUp.EAM.Library.Class.TcpMonitor.Configuration"]/TargetPort$</TargetPort>
<Interval>$Target/Property[Type="SquaredUp.EAM.Library.Class.TcpMonitor.Configuration"]/Interval$</Interval>
</Configuration>
</UnitMonitor>