Having the problem error message as per above with one of my server sensors. If I run the same sensor script against another DFS server everything works ok and PRTG reports the figures. When I manually run the script on an admin powershell session it returns the backlog values against most of the DFS shares but errors out when it comes to certain namespace shares such as domain.local\dfs\share Getting lots of powershell error messages which seem to point to a firewall or a WMI error but the FW is not running and I've also ran WMIdiag.exe and it has returned a status of all running. Some of the error messages are below and I wonder if anyone has any ideas?
Have rebooted the remote server and also the PRTG server but the sensor still reports the same issue.
Error 1 Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) At C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\Get-DFSRBacklog_V3.ps1:183 char:77 + $PartnerFolderEnabledWMI = Get-WmiObject <<<< -computername $Smem -Namespace "ro ot\MicrosoftDFS" -Query $WMIQuery + CategoryInfo : InvalidOperation: (:) [Get-WmiObject], COMException + FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
Write-Debug : Cannot bind argument to parameter 'Message' because it is null. At C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\Get-DFSRBacklog_V3.ps1:242 char:36 + write-debug <<<< $BacklogCount + CategoryInfo : InvalidData: (:) [Write-Debug], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.WriteDebugCommand
Error 2 Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) At C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\Get-DFSRBacklog_V3.ps1:208 char:71 + $InboundPartnerWMI = Get-WmiObject <<<< -computername $Rmem -Namespace "root\Mic rosoftDFS" -Query $WMIQuery + CategoryInfo : InvalidOperation: (:) [Get-WmiObject], COMException + FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
Error 3 Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) At C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\Get-DFSRBacklog_V3.ps1:211 char:77 + $PartnerFolderEnabledWMI = Get-WmiObject <<<< -computername $Rmem -Namespace "ro ot\MicrosoftDFS" -Query $WMIQuery + CategoryInfo : InvalidOperation: (:) [Get-WmiObject], COMException + FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
Write-Debug : Cannot bind argument to parameter 'Message' because it is null. At C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\Get-DFSRBacklog_V3.ps1:242 char:36 + write-debug <<<< $BacklogCount + CategoryInfo : InvalidData: (:) [Write-Debug], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.WriteDebugC ommand
Add comment