Server Uptime Report-Excluding scheduled maintenance time

We need to get the uptime report of the servers everyday/weekly/monthly,etc.We need to know how to exclude the server from monitoring if i need to do some scheduled reboot on the server,also the uptime report excluding the scheduled downtime of the server.

I need to do the exact same thing. Exclude monitoring, or at the very least, discard alerts. There's a metric variable you can use when building discard rules called "InMaintenanceWindow", but I don't know what value it's looking for or how it works. I can't find any documentation on it.