-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Hello!
We are testing the latest module releases (framework 1.10.0, plugins 1.10.0, hyperv 1.2.0) and we found the following behaviour on two machines:
The error is: Icinga Exception: Exception calling "Add" with "x" argument(s): "Item has already been added.
and the following checks are affected on both machines:
Invoke-IcingaDiskHealth
InvokeICingaCheckHyperVOvercommitment
InvokeICingaCheckHyperVSnapshot
InvokeICingaCheckHyperVVMHealth
Invoke-IcingaDiskHealth
IcingaWeb2
[UNKNOWN] Icinga Exception: Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: '4' Key being added: '4'"
CheckCommand: Invoke-IcingaCheckDiskHealth Arguments: System.Collections.Hashtable StackTrace: at Global:Get-IcingaPhysicalDiskInfo, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-plugins\compiled\icinga-powershell-plugins.ifw_compilation.psm1: line 6448 at Join-IcingaPhysicalDiskDataPerfCounter, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-plugins\compiled\icinga-powershell-plugins.ifw_compilation.psm1: line 6607 at Invoke-IcingaCheckDiskHealth, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-plugins\compiled\icinga-powershell-plugins.ifw_compilation.psm1: line 818 at Exit-IcingaExecutePlugin, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\cache\framework_cache.psm1: line 26461 at , : line 1
InvokeICingaCheckHyperVOvercommitment
IcingaWeb2
[UNKNOWN] Icinga Exception: Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: '4' Key being added: '4'"
CheckCommand: Invoke-IcingaCheckHyperVOverCommitment Arguments: System.Collections.Hashtable StackTrace: at Global:Get-IcingaPhysicalDiskInfo, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-plugins\compiled\icinga-powershell-plugins.ifw_compilation.psm1: line 6448 at Get-IcingaVirtualComputerInfo, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-hyperv\compiled\icinga-powershell-hyperv.ifw_compilation.psm1: line 1523 at Invoke-IcingaCheckHyperVOverCommitment, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-hyperv\compiled\icinga-powershell-hyperv.ifw_compilation.psm1: line 238 at Exit-IcingaExecutePlugin, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\cache\framework_cache.psm1: line 26461 at , : line 1
InvokeICingaCheckHyperVSnapshot
IcingaWeb2
[UNKNOWN] Icinga Exception: Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: '4' Key being added: '4'"
CheckCommand: Invoke-IcingaCheckHyperVSnapshot Arguments: System.Collections.Hashtable StackTrace: at Global:Get-IcingaPhysicalDiskInfo, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-plugins\compiled\icinga-powershell-plugins.ifw_compilation.psm1: line 6448 at Get-IcingaVirtualComputerInfo, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-hyperv\compiled\icinga-powershell-hyperv.ifw_compilation.psm1: line 1523 at Invoke-IcingaCheckHyperVSnapshot, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-hyperv\compiled\icinga-powershell-hyperv.ifw_compilation.psm1: line 529 at Exit-IcingaExecutePlugin, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\cache\framework_cache.psm1: line 26461 at , : line 1
InvokeICingaCheckHyperVVMHealth
IcingaWeb2
[UNKNOWN] Icinga Exception: Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: '4' Key being added: '4'"
CheckCommand: Invoke-IcingaCheckHyperVVMHealth Arguments: System.Collections.Hashtable StackTrace: at Global:Get-IcingaPhysicalDiskInfo, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-plugins\compiled\icinga-powershell-plugins.ifw_compilation.psm1: line 6448 at Get-IcingaVirtualComputerInfo, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-hyperv\compiled\icinga-powershell-hyperv.ifw_compilation.psm1: line 1523 at Invoke-IcingaCheckHyperVVMHealth, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-hyperv\compiled\icinga-powershell-hyperv.ifw_compilation.psm1: line 956 at Exit-IcingaExecutePlugin, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\cache\framework_cache.psm1: line 26461 at , : line 1
Expected Behavior
The checks should work without errors.
Current Behavior
PLease see above.
Steps to Reproduce (for bugs)
unknown
Your Environment
OS: Microsoft Windows Server 2019 Datacenter v.10.0.17763
-all have the same patchlevel
-all have vms (online)
-there are no cluster-events indicating an error



