VMware Horizon Community
Jstrat31
Enthusiast
Enthusiast
Jump to solution

Horizon Monitoring (Agent Unreachable for example)

Hello all

Today we had a RDS host in "Agent unreachable status". My question is.. Is there anyway to be notified when this issue occurs?

I've not seen any native Horizon monitoring (SMTP alerts, ect.)

How do you all monitor your Horizon environment?

There were no crashed services, and the VM had a stable network connection so "Offline/online" style of monitoring (Which we have in place via our RMM) would not have helped in this scenario.

Thanks!!!

Jason Hartley VMware Systems Specialist "Develop the skill of sensing problems when they are still small and taking care of them before they become intractable"—Robert Greene http://privatecloudky.com/
0 Kudos
1 Solution

Accepted Solutions
sjesse
Leadership
Leadership
Jump to solution

The horizon adapter for vRealize Operations can do this, but it wasn't reliable in me experience. I use a powercli script based of the one in the below link that checks every 15 minutes I think, and it emails us if one is offline

Automating VMware Horizon 7 with VMware PowerCLI 6.5 | VMware End-User Computing Blog

View solution in original post

0 Kudos
3 Replies
sjesse
Leadership
Leadership
Jump to solution

The horizon adapter for vRealize Operations can do this, but it wasn't reliable in me experience. I use a powercli script based of the one in the below link that checks every 15 minutes I think, and it emails us if one is offline

Automating VMware Horizon 7 with VMware PowerCLI 6.5 | VMware End-User Computing Blog

0 Kudos
Jstrat31
Enthusiast
Enthusiast
Jump to solution

sjesse

Thanks for the quick response!!

If possible would you mind sending me an example of the script you are using? I figured it may save me a bit of time.

Jason Hartley VMware Systems Specialist "Develop the skill of sensing problems when they are still small and taking care of them before they become intractable"—Robert Greene http://privatecloudky.com/
0 Kudos
sjesse
Leadership
Leadership
Jump to solution

The best one is in that article, you find this part

Restart-VMGuest -VM $VM

and change it to what you want , or even leave it if you want. This will restart the vm thats not in a good state, but you could use

Send-MailMessage

to send the email If you want something more ready made try to use

GitHub - vCheckReport/vCheck-HorizonView: vCheck for Horizon View

and just run it once a day more. One of the modules in that script shows the statues of all of the desktops

0 Kudos