sacha81 / XA-and-XD-HealthCheck

Citrix Virtual Apps and Desktops HealthCheck
http://blog.sachathomet.ch/xendesktop-and-xenapp-7-x-healthcheck-oops-i-did-it-again/
63 stars 34 forks source link

Not count maschines with PowerState unknown as avaibile #48

Open sacha81 opened 7 years ago

sacha81 commented 7 years ago

Comment on Blog:

Thanks,I had an issue where machines are powered up in vCenter. Appear as registered and ready in XD but due to an issue with vCentre powerstate is now unknown in XD (but still recognised as powered on in XD)

The result being not being about to broker a connection. My hope was this script would be able to identify the powerstate as unknown and not count the machine as an available machine. However it is counting these machines as available.Is is possible to include such a condition? Thanks Tony

sommerers commented 6 years ago

Curious about this issue. Is the machine actually powered on in vCenter? If the machine is powered on is the Citrix Desktop Service Running? Just trying to figure out how one would code for this.