Event log monitoring during business hours

H S 216 Reputation points
2020-09-28T09:15:09.153+00:00

Hello!

We have a monitor TypeID "Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType"

Now we have take a change. Monitor should only run during business-hours 06:00-22:00

is this possible?

rg
hansi

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,480 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leon Laude 85,786 Reputation points
    2020-09-28T09:53:43.36+00:00

    Hi @H S ,

    Yes it is possible, but not in the Operations Console, you will have to do some authoring/XML modifications.

    You can follow the guide over here:

    Creating Rules and Monitors with a Schedule/Understanding XML internals!
    https://techcommunity.microsoft.com/t5/core-infrastructure-and-security/creating-rules-and-monitors-with-a-schedule-understanding-xml/ba-p/322300

    ----------

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    Best regards,
    Leon

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. AlexZhu-MSFT 5,871 Reputation points Microsoft Vendor
    2020-09-29T06:05:16.147+00:00

    Hi,

    As Leon said, this is not a built-in functionality. To achieve this, it requires some authoring skills. We may use some management pack fragments and combine them into our own .xml file and here's the reference:

    http://blog.scomskills.com/two-state-event-detection/
    Note: this is not MS website, just for your reference.

    https://gallery.technet.microsoft.com/Sample-Management-Pack-a548e083

    29023-scom-mp-business-hour-01.png

    Hope the above information helps.

    Alex Zhu


    If the response is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.