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
# MIInpQYJKoZIhvcNAQcCoIInljCCJ5ICAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBkNs62sdCNrAVK
# RCx+X7ER/PH9oUYwBSN+Q8jxegJ6VaCCDYUwggYDMIID66ADAgECAhMzAAADri01
# UchTj1UdAAAAAAOuMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p
# bmcgUENBIDIwMTEwHhcNMjMxMTE2MTkwODU5WhcNMjQxMTE0MTkwODU5WjB0MQsw
# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u
# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
# AQD0IPymNjfDEKg+YyE6SjDvJwKW1+pieqTjAY0CnOHZ1Nj5irGjNZPMlQ4HfxXG
# yAVCZcEWE4x2sZgam872R1s0+TAelOtbqFmoW4suJHAYoTHhkznNVKpscm5fZ899
# QnReZv5WtWwbD8HAFXbPPStW2JKCqPcZ54Y6wbuWV9bKtKPImqbkMcTejTgEAj82
# 6GQc6/Th66Koka8cUIvz59e/IP04DGrh9wkq2jIFvQ8EDegw1B4KyJTIs76+hmpV
# M5SwBZjRs3liOQrierkNVo11WuujB3kBf2CbPoP9MlOyyezqkMIbTRj4OHe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