scenarios/ResettingNic/Watch-ResettingNIC.ps1

param
(
    [object]$EventInfo
)

if ($EventInfo)
{
    $ErrorActionPreference = "Stop"
}
else
{
    $ErrorActionPreference = "SilentlyContinue"
}

function InsertResetEvent()
{
    param (
        [object] $dictionary,
        [string] $name,
        [DateTime] $time,
        [DateTime] $filterStart,
        [int] $threshold
    )

    $dictionary.TryAdd((New-Object "System.Collections.Generic.List[System.DateTime]")) | Out-Null

    $dictionary[$name].Add($time)

    $dictionary[$name].RemoveAll({ param($t) $t -lt $filterStart })

    $dictionary[$name].Sort()

    if ($dictionary[$name].Count -gt $threshold)
    {
        $dictionary[$name].RemoveRange(0, $dictionary[$name].Count - $threshold)
    }

}

$config = (Import-PowerShellDataFile "$PSScriptRoot\..\Config.psd1").ResettingNic

$searchInterval = $config.FaultIntervalSeconds * $config.ClearIntervalMultiplier * 1000
$resetThreshold = $config.ResetThreshold

Add-Type -Path "$PSScriptRoot\..\..\Microsoft.NetworkHud.Module.dll" -ErrorAction SilentlyContinue

$dictionary = [Microsoft.NetworkHud.Module.SharedConcurrentDictionary]::GetInstance("ResettingNic")

$now = Get-Date

if (-not $EventInfo)
{
    foreach ($adapter in Get-NetAdapter)
    {
        $dictionary[$adapter.InterfaceDescription] = New-Object "System.Collections.Generic.List[System.DateTime]"
    }

    Write-Host "Searching NIC reset event from event log"

    $start = $now.AddSeconds($searchInterval * -1)
    $filter = @{
        LogName   = 'system'
        ID        = 10400
        StartTime = $start
    }
    
    $events = Get-WinEvent -FilterHashtable $filter -ErrorAction SilentlyContinue

    if ($events)
    {
        foreach ($event in $events)
        {
            $interfaceDescription = $event.Properties[3].Value
            $timeCreated = $event.TimeCreated

            Write-Host "Found NIC Reset event for $interfaceDescription at $timeCreated."

            InsertResetEvent $dictionary $interfaceDescription $timeCreated $start $resetThreshold
        }
    }
}
else
{
    $properties = $EventInfo.EventArgs.NewEvent.Properties
    $interfaceDescription = $properties["InstanceName"].Value
    $timeCreated = [System.DateTime]::FromFileTime($properties["TIME_CREATED"].Value)

    Write-Host "Recieved MSNdis_StatusResetStart WMI event for $interfaceDescription at $timeCreated."

    InsertResetEvent $dictionary $interfaceDescription $timeCreated $start $resetThreshold

}

foreach ($key in $dictionary.Keys)
{
    Write-Host "Processing NIC Reset events for $key at $($dictionary[$key])"

    $faultEvts = $dictionary[$key] | Where-Object { $_ -gt $faultSearchStart }
    $clearEvts = $dictionary[$key] | Where-Object { $_ -gt $clearSearchStart }

    $faultCnt = 0
    $clearCnt = 0

    if ($faultEvts) { $faultCnt = $faultEvts.Count }
    if ($clearEvts) { $clearCnt = $clearEvts.Count }

    Write-Host "Found $faultCnt Resetting events within faulting interval $faultIntervalSeconds seconds and $clearCnt events within clear interval $clearIntervalSeconds seconds for $key"

    if ($faultCnt -ge $config.ResetThreshold)
    {
        Write-Host "The resetting events within faulting interval for $key is greater than $($config.ResetThreshold)."

        Write-EventLog  -LogName  $logName `
            -Source    $($config.DetectedReset.Source) `
            -EventID   $($config.DetectedReset.EventID) `
            -EntryType $($config.DetectedReset.EntryType) `
            -Message   $($LocMessage.$($config.DetectedReset.MessageKey) -f $key)`

        $faultDescription = $LocMessage.$($config.FaultDescriptionKey) -f $key
        $faultAction = $LocMessage.$($config.FaultActionKey) -f $key, $config.ResetThreshold, $($faultIntervalSeconds / 60)
        $ResourceID = "$($env:COMPUTERNAME): $key"

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

        $AdaptersList = Get-NetworkATCAdapters -ClusterName (Get-Cluster).Name

        $thisFlappingNICName = $key

        $AdaptersList | ForEach-Object {
            $thisAdaptersList = $_

            if ($thisFlappingNICName -in $thisAdaptersList.Adapters)
            {
                # The flapping NIC is a member of this ATC intent returned from $thisAdaptersList; Next see if enough 'Up' adapters to take corrective action

                Switch ($thisAdaptersList.Adapters.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.NotEnoughAdapters.Source) `
                            -EventID $($config.NotEnoughAdapters.EventID) `
                            -EntryType $($config.NotEnoughAdapters.EntryType) `
                            -Message ("$LocMessage.$($config.NotEnoughAdapters.MessageKey)" -f $key, $config.ResetThreshold, $config.FaultIntervalSeconds / 60) `
                    }
                            

                    { $_ -gt 2 } 
                    {
                        $listOfStableAdapters = @{}
                        
                        foreach ($nonFlappingATCAdapter in $thisAdaptersList.Adapters) 
                        {
                            $Status = (Get-NetAdapter -Name $nonFlappingATCAdapter).Status

                            if ($Status -eq 'Up') { 
                                $UpATCAdapters ++ 
                                $listOfStableAdapters += $otherAdapter
                            }
                        }

                        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.DisableResettingNIC.Source) `
                                -EventID   $($config.DisableResettingNIC.EventID) `
                                -EntryType $($config.DisableResettingNIC.EntryType) `
                                -Message ("$LocMessage.$($config.DisableResettingNIC.MessageKey)" -f $thisFlappingNICName, $config.ResetThreshold, $config.FaultIntervalSeconds / 60) `

                                Update-NetIntentAdapter -Name $_.IntentName -AdapterName $listOfStableAdapters
                        }
                        else 
                        {
                            Write-EventLog  -LogName $logName`
                            -Source    $($config.NotEnoughAdapters.Source) `
                                -EventID   $($config.NotEnoughAdapters.EventID) `
                                -EntryType $($config.NotEnoughAdapters.EntryType) `
                                -Message ("$LocMessage.$($config.NotEnoughAdapters.MessageKey)" -f $thisFlappingNICName, $config.ResetThreshold, $config.FaultIntervalSeconds / 60) `
                        }
                    }        
                }
            }
        }

    }
}

# SIG # Begin signature block
# MIIoLQYJKoZIhvcNAQcCoIIoHjCCKBoCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBkNs62sdCNrAVK
# RCx+X7ER/PH9oUYwBSN+Q8jxegJ6VaCCDXYwggX0MIID3KADAgECAhMzAAADTrU8
# esGEb+srAAAAAANOMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p
# bmcgUENBIDIwMTEwHhcNMjMwMzE2MTg0MzI5WhcNMjQwMzE0MTg0MzI5WjB0MQsw
# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u
# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
# AQDdCKiNI6IBFWuvJUmf6WdOJqZmIwYs5G7AJD5UbcL6tsC+EBPDbr36pFGo1bsU
# p53nRyFYnncoMg8FK0d8jLlw0lgexDDr7gicf2zOBFWqfv/nSLwzJFNP5W03DF/1
# 1oZ12rSFqGlm+O46cRjTDFBpMRCZZGddZlRBjivby0eI1VgTD1TvAdfBYQe82fhm
# WQkYR/lWmAK+vW/1+bO7jHaxXTNCxLIBW07F8PBjUcwFxxyfbe2mHB4h1L4U0Ofa
# +HX/aREQ7SqYZz59sXM2ySOfvYyIjnqSO80NGBaz5DvzI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