scenarios/FlappingNic/Watch-LinkState.ps1

param
(
    [object]$EventInfo
)

$ErrorActionPreference = "Stop"

$helpersPath = Join-Path -Path $PSScriptRoot -ChildPath '..\helpers'
$config = Import-PowerShellDataFile "$PSScriptRoot\..\Config.psd1"
Import-Module "$helpersPath\helper.HealthFaults.psm1"
Import-Module "$helpersPath\helper.NetworkATC.psm1"

Import-LocalizedData -BindingVariable "LocMessage" -FileName "LocalizationMessages" -BaseDirectory $PSScriptRoot\..\..\
$logName = 'NetworkHud'
Add-FaultApi

#Log which adapter disconnected
$properties = $EventInfo.EventArgs.NewEvent.Properties;
$Adapter = Get-NetAdapter -InterfaceDescription $properties["InstanceName"].Value
$ATCAdapters = Get-NetworkATCAdapters -ClusterName (Get-Cluster).Name

#NetworkHUD only cares about an adapter in an ATC intent
if($ATCAdapters.Adapters -notcontains $Adapter.Name){
     Exit
}

$MessageString = $LocMessage.$($config.WatchLinkState.LinkStateChange.MessageKey) -f $($Adapter.Name), $($Adapter.InterfaceDescription), $($Adapter.InterfaceIndex), $($Adapter.MacAddress), 'Disconnected', $($Adapter.LinkSpeed) 
Write-EventLog  -LogName $logName `
    -Source    $($config.WatchLinkState.LinkStateChange.Source) `
    -EventID   $($config.WatchLinkState.LinkStateChange.EventID) `
    -EntryType $($config.WatchLinkState.LinkStateChange.EntryType) `
    -Message  $MessageString `

#Checking if we have exceeded the Threshold
$searchDisconnectHash = @{
    logname   = $logName
    id        = $($config.WatchLinkState.LinkStateChange.EventID)
    StartTime = (Get-Date).AddSeconds($config.WatchLinkState.FaultIntervalSeconds * -1) #Subtract TimeSpan
}

$adapterDisconnects = Get-WinEvent -FilterHashtable $searchDisconnectHash | Where-Object -Property Message -Like "*$($Adapter.Name)*" -ErrorAction SilentlyContinue
Write-Host "Found $($adapterDisconnects.Count) disconnect events within faulting interval $($config.WatchLinkState.FaultIntervalSeconds) seconds for $($Adapter.Name)"

if($AdapterDisconnects.count -ge $config.WatchLinkState.DisconnectThreshold){
    
    Write-Host "The disconnect events within faulting interval $($config.WatchLinkState.FaultIntervalSeconds) seconds for $($Adapter.Name) is greater than $($config.WatchLinkState.DisconnectThreshold)."

    Write-EventLog  -LogName  $logName `
        -Source    $($config.WatchLinkState.DetectedFlap.Source) `
        -EventID   $($config.WatchLinkState.DetectedFlap.EventID) `
        -EntryType $($config.WatchLinkState.DetectedFlap.EntryType) `
        -Message   $($LocMessage.$($config.WatchLinkState.DetectedFlap.MessageKey) -f ($Adapter.Name))`

    $intentName = Get-NetworkATCIntentByAdapterName -AdapterName $Adapter.Name
    $faultDescription = $LocMessage.$($config.WatchLinkState.FaultDescriptionKey) -f $Adapter.Name, $intentName
    $faultAction = $LocMessage.$($config.WatchLinkState.FaultActionKey) -f $Adapter.Name, $config.WatchLinkState.DisconnectThreshold, $($config.WatchLinkState.FaultIntervalSeconds / 60), $intentname
    $ResourceID =  "$($env:COMPUTERNAME): $($Adapter.Name)"

    [Microsoft.NetworkHud.Module.HciHealthUtils]::HciModifyFault($config.WatchLinkState.EntityType, $ResourceID , "", "", "", $FRApiActionModify, $config.WatchLinkState.FaultType, $HealthUrgencyUnHealthy, "", $faultDescription, $faultAction, 0)
    [Microsoft.NetworkHud.Module.HciHealthUtils]::HciModifyRelationship($config.WatchLinkState.EntityType, $ResourceID , "", "", "", $FRApiActionModify, "Microsoft.Health.EntityType.Server", $env:COMPUTERNAME, "", "", "", $HealthRelationshipGroupKey, $HealthUrgencyUnHealthy, $HealthRelationshipCollection, 0)
        
    $ATCAdapters | ForEach-Object {

    $intentName = $_.intentname
    $intentAdapters = $_.Adapters

        if ($Adapter.Name -in $intentAdapters)
        {
            # The flapping NIC is a member of this ATC intent returned from $thisAdaptersList; Next see if enough 'Up' adapters to take corrective action
            Switch ($intentAdapters.Count)
            {
                { $_ -le 2 } 
                {   
                    # Regardless of whether the adapters are up, there are not enough adapters in the team to take action beyond eventing
                    Write-EventLog  -LogName $logName `
                        -Source  $($config.WatchLinkState.NotEnoughAdapters.Source) `
                        -EventID $($config.WatchLinkState.NotEnoughAdapters.EventID) `Get
                        -EntryType $($config.WatchLinkState.NotEnoughAdapters.EntryType) `
                        -Message $($LocMessage.$($config.WatchLinkState.NotEnoughAdapters.MessageKey) -f $Adapter.Name, $config.WatchLinkState.DisconnectThreshold, $($config.WatchLinkState.FaultIntervalSeconds / 60)) `
                                      
                }
                        
                { $_ -gt 2 } 
                {
                    $listOfStableAdapters = @()
                    $intentAdapters.Remove($Adapter.Name)
            
                    $intentAdapters | ForEach-Object {
            
                        $Status = (Get-NetAdapter -Name $_ ).Status

                        if ($Status -eq 'Up') { 
                            $UpATCAdapters ++ 
                            $listOfStableAdapters += $_
                        }
                    }
                    
                    #Debug
                    Write-Host "List of Stable Adapters"  $listOfStableAdapters

                    if ($UpATCAdapters -gt 1)
                    {
                        # We have enough adapters in the intent but need to ensure the adapters are up
                        Write-EventLog  -LogName $logName `
                            -Source $($config.WatchLinkState.DisableFlappingNIC.Source) `
                            -EventID $($config.WatchLinkState.DisableFlappingNIC.EventID) `
                            -EntryType $($config.WatchLinkState.DisableFlappingNIC.EntryType) `
                            -Message $($LocMessage.$($config.WatchLinkState.DisableFlappingNIC.MessageKey) -f $Adapter.Name, $config.WatchLinkState.DisconnectThreshold, $($config.WatchLinkState.FaultIntervalSeconds / 60), $_.IntentName) `
            
                        Update-NetIntentAdapter -Name $intentName -AdapterName $listOfStableAdapters 
                    }
                    else 
                    {
                        Write-EventLog  -LogName $logName`
                            -Source $($config.WatchLinkState.NotEnoughAdapters.Source) `
                            -EventID $($config.WatchLinkState.NotEnoughAdapters.EventID) `
                            -EntryType $($config.WatchLinkState.NotEnoughAdapters.EntryType) `
                            -Message $($LocMessage.$($config.WatchLinkState.NotEnoughAdapters.MessageKey) -f $Adapter.Name, $config.WatchLinkState.DisconnectThreshold, $($config.WatchLinkState.FaultIntervalSeconds / 60)) `
                    }
                }    
            }
        }
    }
}


# SIG # Begin signature block
# MIInwQYJKoZIhvcNAQcCoIInsjCCJ64CAQExDzANBglghkgB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