Have a look at this which spits out an example of service monitoring with schedule filter:
http://kevingreeneitblog.blogspot.com/2017/04/scom-new-community-mp-for-monitoring.html From: [email protected] [mailto:[email protected]] On Behalf Of Orlebeck, Geoffrey Sent: Wednesday, April 19, 2017 12:40 PM To: '[email protected]' <[email protected]> Subject: [msmom] System.SchedulerFilter For Monitoring Services? All: We have a vendor that recyles their services over a 60min period nightly. It would appear I have a few options (and others I may not have considered): * Place class(es) in MM via Schedule Task each day * Define subscription to exclude emailing each day for that period * Use System.SchedulerFilter to define a schedule excluding that period every day >From what I can tell, the third option is most desirable as the first two are >really more of a mask/hiding the underlying issue, rather than creating a >targeted monitor. I have been reviewing condition detection to use a schedule, >but all the examples I find online are for rules. I've always used VSAE's >built-in 'Monitor (Unit)' template for creating service monitors. I reviewed >the XML and see it's leveraging >Windows!Microsoft.Windows.CheckNTServiceStateMonitorType. I'm struggling on >how (or even if) I can configure a schedule to not run daily from 3AM-4AM. The >examples I have found are also using the older Authoring Console, not VSAE. I >tried to translate the XML output examples but am still coming up empty. >Anyone have a helpful article or example I can use as a learning reference? Thank you! Confidentiality Notice: This is a transmission from Montage Health. This message and any attached documents may be confidential and contain information protected by state and federal medical privacy statutes. They are intended only for the use of the addressee. If you are not the intended recipient, any disclosure, copying, or distribution of this information is strictly prohibited. If you received this transmission in error, please accept our apologies and notify the sender. Thank you.
