Harden endpoint reachability resolution
This commit is contained in:
@@ -269,6 +269,26 @@ namespace BizTalkCheckmkPulse
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Ergebnis der geheimnisfreien Auswertung einer BizTalk-Transportadresse.
|
||||
/// </summary>
|
||||
internal enum EndpointResolutionStatus
|
||||
{
|
||||
Probeable,
|
||||
ExpectedNonProbeable,
|
||||
Unresolved
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Klassifiziert einen Kandidaten und enthaelt nur bei sicherer Aufloesung ein Socket-Ziel.
|
||||
/// </summary>
|
||||
internal sealed class EndpointResolution
|
||||
{
|
||||
public EndpointResolutionStatus Status { get; set; }
|
||||
public EndpointCatalogEntry Entry { get; set; }
|
||||
public string Reason { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Ein geheimnisfreier, lokal persistierbarer Netzwerk-Endpunkt.
|
||||
/// </summary>
|
||||
@@ -314,7 +334,7 @@ namespace BizTalkCheckmkPulse
|
||||
public string MachineName { get; set; }
|
||||
public string EnvironmentName { get; set; }
|
||||
public int ActiveCandidates { get; set; }
|
||||
public int UnsupportedCandidates { get; set; }
|
||||
public int UnresolvedCandidates { get; set; }
|
||||
public List<EndpointCatalogEntry> Entries { get; private set; }
|
||||
}
|
||||
|
||||
@@ -337,6 +357,7 @@ namespace BizTalkCheckmkPulse
|
||||
public EndpointConnectivityState()
|
||||
{
|
||||
Results = new List<EndpointProbeResult>();
|
||||
ResolutionIssues = new List<string>();
|
||||
}
|
||||
|
||||
public bool Disabled { get; set; }
|
||||
@@ -348,10 +369,13 @@ namespace BizTalkCheckmkPulse
|
||||
public int Configured { get; set; }
|
||||
public int Active { get; set; }
|
||||
public int SkippedInactive { get; set; }
|
||||
public int UnsupportedActive { get; set; }
|
||||
public int UnresolvedActive { get; set; }
|
||||
public int ExpectedNonProbeableActive { get; set; }
|
||||
public int ManualOverridesActive { get; set; }
|
||||
public int UniqueTargets { get; set; }
|
||||
public long ProbeDurationMilliseconds { get; set; }
|
||||
public string Failure { get; set; }
|
||||
public List<EndpointProbeResult> Results { get; private set; }
|
||||
public List<string> ResolutionIssues { get; private set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user