jrondo4

updated

13 years ago

J

jrondo4

2 Posts

0

155593

December 11th, 2013 15:00

Foglight 7.0 Configuration - Hyper-V 2012

Over the weekend, I installed Foglight on one of our test servers. The software install was fairly straightforward, and I was able to get logged in via HTTPS. I then continued the setup for Hyper-V monitoring using the "Add Hyper-V" function, but I haven't been able to get any data from my Hyper-V 2012 hosts.

I tried adding the host servers with both the WinRM and DCOM connection types, and the DCOM type seems to be working for our Server 2008 R2 Hyper-V hosts (3 total). However, it isn't working on our Hyper-V 2012 hosts (6 hosts, one cluster) or our Hyper-V 2012 R2 hosts (2 hosts, non-clustered).

I think there are some additional configuration steps that will be needed for either option (DCOM or WinRM), but those steps are not entirely clear. I think DCOM requires the Remote Registry service to be running and set to Automatic.  I also think there are some separate configuration steps for WinRM, but I haven't been able to get it working as of yet.  I would prefer to use WinRM if possible, but it looks like DCOM might be easier to set up. Any ideas what I'm missing?

I set up a new AD user account for Foglight to use when connecting to these hosts and that account has Domain Admin privileges.

To attempt resolution of this on my own, I've tried configuring Windows Remote Management by executing the below commands on one of my Hyper-V 2012 hosts:

winrm quickconfig
winrm set winrm/config/service @{AllowUnencrypted="true"}
winrm set winrm/config/service/auth @{Basic="true"}

Following that, I restarted the Windows Remote Management service and re-added the host in Foglight using WinRM and my previously created Domain Admin account (with kerberos authentication). No luck. The error I get is:

The Agent is having difficulty logging on to the remote host

I've also tried using a local admin account with basic authentication on one of my 2012 R2 Hyper-V hosts but that doesn't seem to be getting me anywhere either. The error I get on that one is:

Internal error, for more information please check the logs

Any news on what configuration steps I need to take to pull data from these 2012 and 2012 R2 hosts?