Get user who set maintenance mode for a server or client

My first script is now ready to post in my blog. With the follow function you can collect the information about workers and his maintenance mode.

You can run follow function to get information for one or more worker. It is only an example, often you have another script that check the maintenance status, and you can now get the information witch user have set this.