Is there a way to set two different monitoring levels for CPU based on time of day? We have servers that if CPU spiked during the day it would not be good for us but if it spikes after hours when back ups are running that is not something to worry about. This would have to be done by application too since we are a 24×7 shop but we have some applications that only get used during normal business hours. My team is right now receiving alerts for all high CPU and we are finding some that alert every night when either back ups or some specific scheduled tasks run so I am trying to find a way to tune those out.
There is another way to do this but it is rather advanced.
You will need to create a new monitor with a scheduler filter condition detection module. It is basically a monitor which only works during certain periods. If you’re interested I can send you an example of this.
There’s no way to do this inherently in the console/via a custom MP (that I’m aware of).
I have seen examples of override MPs being imported depending on the time of day, using scheduled tasks, essentially giving you the “time of day” monitoring you require.
If this is purely notifications, then you can set up separate subscribers (Admin > Notifications > Subscribers) with different schedules. i.e. you have business hours / outside business hours subscriptions.
We have done this via powershell.We had an issue with disk latency during the backups.
We have done it in two ways. One where we disable the monitor during certain hours. Since all alarms that go out during that time for disk latency where false positives. We use disable-scommonitor and disable it.
The other way is to set overrides during certain hours.
Take a look at this: