Hi all,
I would like to monitor network on client devices. I using samroy92/sensu-plugins-windows with metric-windows-network.ps1 to monitor network. But when I create check it and access portal sensu to check result it can not run and notice
You cannot call a method on a null-valued expression.
At C:\Users\son\Downloads\sensu-plugins-windows_3.0.3_windows_amd64\bin\metric-windows-network.ps1:53 char:7
- if ($Interfaces.Contains($ObjNet.InstanceName))
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (
, RuntimeException
- FullyQualifiedErrorId : InvokeMethodOnNull
So how can I configure to run it
- CategoryInfo : InvalidOperation: (