We are using AVD(Azure virtual desktops) we want to schedule the downtime for the servers based on autoscaling or number of users connected to the server like if the users are lessthan 20 then that server should be in Maintenance mode,and if they are morethan 20 the server should not be in Maintenenace mode.
you can achieve this not with out of the box features but it should be possible to develop by yourself with the Checkmk API. If you don’t have the time or resources you can always reach out to Checkmk Partners to get things like this developed for you.