Windows 2003 agent - SCOM 2012R2 - Failed to access Event Log (Warning Message)

Chua Liang Wei 186 Reputation points
2021-01-14T03:52:39.867+00:00

How can we fix this issue, the agent is configured using local system. Tried to flush the agent but did not recalculate,

The log path does not exist.

The Windows Event Log Provider was unable to open the Microsoft-Windows-TaskScheduler/Operational event log on computer <hostname>' for reading. The provider will retry opening the log every 30 seconds. Most recent error details: The system cannot find the file specified. One or more workflows were affected by this.

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,419 questions
0 comments No comments
{count} votes

Accepted answer
  1. CyrAz 5,181 Reputation points
    2021-01-21T11:45:58.967+00:00

    From the name of the workflow, it looks like it was created directly in the SCOM console by someone from your company.
    You can run the following command to find its display name and which management pack it's stored in :

    Get-SCOMRule -Name MomUIGeneratedRuleafc86050fc76455eab425ce588c73c7e
    

5 additional answers

Sort by: Most helpful
  1. CyrAz 5,181 Reputation points
    2021-01-14T10:26:14.857+00:00

    That event shows up because you have a management pack that tries to access the Microsoft-Windows-TaskScheduler/Operational event log, and that event log doesn't exist in Windows 2003.
    So you need to find what rules/monitors are trying to access the event log (should be written somewhere in the error events) and disable them for the windows 2003 servers.

    0 comments No comments

  2. Chua Liang Wei 186 Reputation points
    2021-01-15T02:35:16.893+00:00

    Microsoft-Windows-TaskScheduler/Operational event log this event log should exist by default?


  3. Chua Liang Wei 186 Reputation points
    2021-01-20T02:12:04.533+00:00

    it seem not wise to disable the monitoring as it is part of the core monitoring MP or we can't disable for specific log path also. We can't remove the monitoring by flush/delete "health service state" folder on the windows 2003 servers?

    We only can recreate the path manually on the windows 2003 servers to get rid of the warning message?

    0 comments No comments

  4. CyrAz 5,181 Reputation points
    2021-01-20T08:46:58.81+00:00

    As far as I know, the only "public" MPs that are trying to access to that event log are Raphael Burri's "Scheduled Tasks" MP ( https://rburri.wordpress.com/2014/08/12/scheduled-task-and-ps-scheduled-job-management-pack-1-2-0-500/ ) and Nathan Gau's "Security" MP ( https://nathangau.wordpress.com/2019/05/10/security-monitoring-1-6-management-pack-is-up/ )
    These MP are not a "core monitoring MP", and they have not been authored with Windows 2003 in mind, since it has been unsupported for a while now.

    However, the alert you are seeing does indeed come from a core MP : this single generic rule allows SCOM to alert you if any other rule or monitor from any MP tries to access to an event log that is not available.

    So what you need to do is to override(disable) for windows server 2003 group whatever discovery/rule/monitor from these MPs that is trying to read the Microsoft-Windows-TaskScheduler/Operational event log, not the rule which trigger the alert. After that you won't see the alert showing up anymore.

    0 comments No comments