Icinga / icinga-powershell-hyperv

A collection of Hyper-V plugins for the Icinga Powershell Framework
GNU General Public License v2.0
6 stars 0 forks source link

Exception calling "ContainsKey" with "1" argument(s): "Key cannot be null. #27

Closed K0nne closed 3 years ago

K0nne commented 3 years ago

Hello,

today I saw the following error artefacts in the plugin output of three hyperv checks:

Hyper-V Overcommitment

Plugin-Ausgabe
MethodInvocationException: Exception calling "ContainsKey" with "1" argument(s): "Key cannot be null.
Parameter name: key"
InvalidOperation: Index operation failed; the array index evaluated to null.[
InvalidOperation: Index operation failed; the array index evaluated to null.
InvalidOperation: Index operation failed; the array index evaluated to null.
InvalidOperation: Index operation failed; the array index evaluated to null.
[OK] Check package "Hyper-V Overcommitment" (Match All)

HyperV Snapshots

Plugin-Ausgabe
MethodInvocationException: Exception calling "ContainsKey" with "1" argument(s): "Key cannot be null.
Parameter name: key"
InvalidOperation: Index operation failed; the array index evaluated to null.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                InvalidOperation: Index operation failed; the array index evaluated to null.
InvalidOperation: Index operation failed; the array index evaluated to null.
InvalidOperation: Index operation failed; the array index evaluated to null.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 Collecting data...                                                                 20%                                                                             [ooooooooooooo                                                       ]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [OK] Check package "VM Snapshots" (Match All)

HyperV VM Health

Plugin-Ausgabe
MethodInvocationException: Exception calling "ContainsKey" with "1" argument(s): "Key cannot be null.
Parameter name: key"
InvalidOperation: Index operation failed; the array index evaluated to null.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                InvalidOperation: Index operation failed; the array index evaluated to null.
InvalidOperation: Index operation failed; the array index evaluated to null.
InvalidOperation: Index operation failed; the array index evaluated to null.

We use the latest master. I'm not sure how to reproduce it.