Jump to content
Welcome to our new Citrix community!
  • 0

a script to query the Citrix Director database to see the failed user connections


Chris Marreel

Question

do we have an example (powershell) script that queries the Monitoring database (= Citrix Director data) to list or count the failed user connections in the last (e.g) 30 minutes, and if there are more than 3 failed user connections to one specific Citrix VDA-worker, then that VDA-worker should be put into maintenance mode so a system administrator should get an e-mail or trigger and check that VDA-worker ?

 

Examples are welcome.

 

If we run that script every (e.g.) 15 minutes it can take an bad- behaving XenApp-worker 'offline' so it no longer accepts connections. All this to avoid the "black hole" issue of a bad-behaving VDA-worker that attracts all the new sessions as they don't succeed, but the session-count-number (used in the session balancing) isn't increased...

 

Greetings,

  Chris Marreel

Link to comment

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...