Uptime to receive a signal to put/remove maintenance on host

Hello,

I regarding to level up my Uptime monitoring, I want to know if it's possible for Uptime to receive a signal, like an email, a result from a DOS command or something else and then put/remove an host in maintenance mode ?

Here is the case, I want to automate update on Windows servers, as soon the update are installed the server is planed to a reboot, so at this moment I don't want to receive alerts form Uptime because it's a controlled state. From now, I can guess reboot time and schedule it in Uptime, but depending the update finalization, the reboot time is malleable, so I would like to send an notification to put the host in maintenance when the server is shutdown, and another one to remove it when server is up.