Hello all,
My team and I are trying to figure out how to monitor and alert us when one of our RD Session Hosts gets set to not allow new connections.
I am referencing this portion of server manager on our connection broker. the screenshot shows 2 servers set to false which means they will not allow new connection from users. We only set this to false when a server is performing badly and when we work on them.

For the past couple weeks i have researched all i can to find what component actually handles what the above setting changes. Im not sure what to actually monitor.
If anyone has figured this out before please let me know otherwise any help is appreciated!