What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

New Powershell VMM/Hyper-V Sensor not working

Votes:

0

We have followed the documentation on the website about the new way to monitor VMM using PowerShell. When I add a device (vmm server) and select the templates my VMM does not get discovered. The error in Auto Discovery Debug Log is.

25-4-2016 15:45:59: Autodiscovery Started; Device ID: 6930
25-4-2016 15:45:59: Device Templates; Device ID: 6930; Selected: 2
25-4-2016 15:45:59: Template Loaded; Device ID: 6930; Name: Hyper V Host Server
25-4-2016 15:46:00: Template Check; Device ID: 6930; Check ID: ping; FOUND
25-4-2016 15:46:02: Template Check; Device ID: 6930; Check ID: wmi; FOUND
25-4-2016 15:46:04: Template Check; Device ID: 6930; Check ID: wmihypervservercheck; NOT FOUND
25-4-2016 15:46:04: Template Assigned; Device ID: 6930; Name: Hyper V Host Server
25-4-2016 15:46:04: Template Loaded; Device ID: 6930; Name: Hyper-V Virtual Machines
25-4-2016 15:46:04: Template Assigned; Device ID: 6930; Name: Hyper-V Virtual Machines
25-4-2016 15:46:10: Template Create Meta Request; Device ID: 6930; Create ID: hyperv.virtualmachines; ERROR: 106
25-4-2016 15:46:16: Template Create Meta Request; Device ID: 6930; Create ID: hyperv.virtualhosts; ERROR: 106
25-4-2016 15:47:10: Autodiscovery Started; Device ID: 6930
25-4-2016 15:47:10: Device Templates; Device ID: 6930; Selected: 1
25-4-2016 15:47:10: Template Loaded; Device ID: 6930; Name: Hyper-V Virtual Machines
25-4-2016 15:47:11: Template Check; Device ID: 6930; Check ID: ping; FOUND
25-4-2016 15:47:11: Template Assigned; Device ID: 6930; Name: Hyper-V Virtual Machines
25-4-2016 15:47:17: Template Create Meta Request; Device ID: 6930; Create ID: hyperv.virtualmachines; ERROR: 106
25-4-2016 15:47:23: Template Create Meta Request; Device ID: 6930; Create ID: hyperv.virtualhosts; ERROR: 106

Any help would be appreciated.

Thank you.

hyper-v powershell prtg scvmm vmm

Created on Apr 25, 2016 1:54:35 PM

Last change on Apr 25, 2016 3:08:31 PM by  Torsten Lindner [Paessler Support]



6 Replies

Votes:

0

When you execute the script like this:

PRTG-HyperV.ps1 -metascanVM -Computername "%host" -userdomain "%windowsdomain" -username "%windowsuser" -password "%windowspassword"

...and replace the % placeholders accordingly - what output do you get then?

Created on Apr 26, 2016 9:11:26 AM by  Stephan Linke [Paessler Support]



Votes:

0

Hi Stephan,

Thank for your reply. I get a list of VM GUID ID's.

<item> <name>XXXXXXXX</name> <exefile>PRTG-HyperV.ps1</exefile> <params>-VM 57EE253E-DA1D-4A74-8D1D-9F6A3554C5E1 -ComputerName '%host' -Username '%windowsuser' -Password '%windowspassword' -userdomain '%windowsdomain'</params>

Created on Apr 26, 2016 10:00:18 AM



Votes:

0

Okay, I think I know the cause of the problem. I'll report it to the developer. Until then, you can create a EXE/Script (advanced) sensor using the same script and parameters as in the params field for each VM.

The problem should be fixed within the next versions of PRTG :)

Created on Apr 26, 2016 10:38:04 AM by  Stephan Linke [Paessler Support]



Votes:

0

Hi Stephan,

Is this issue fixed?

Created on Jul 13, 2016 9:16:21 AM



Votes:

0

Sorry, not yet :/
edit The bugfix has been merged into the latest canary :) So it should be available in the stable version soon.

Created on Jul 13, 2016 10:18:25 AM by  Stephan Linke [Paessler Support]

Last change on Jul 18, 2016 8:43:03 AM by  Stephan Linke [Paessler Support]



Votes:

0

Hi there,

Please download the latest version of the sensor (and replace all files). We finally fixed all the bugs so far and the sensor (including auto discovery) should now work with current PRTG version :)

Let me know if it worked out for you!

Created on Aug 9, 2016 11:49:39 AM by  Stephan Linke [Paessler Support]

Last change on Aug 9, 2016 11:50:00 AM by  Stephan Linke [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.