I have a distributed application that is composed of web services / app services / database that is all on one server.   I have the server configured to go into maintenance mode in the evenings around 5:45 pm.  However, I see the state changes flip flopping and have this message in the context.  Any ideas how to correct this?  The SLO is going down due to this.

“The monitor has entered maintenance mode, or was requested not to change state when it had exited maintenance mode”

Gary answered