Need a SCOM alert when perticular user tries to log on to targeted servers.

Sushanth S K 146 Reputation points
2022-06-28T14:15:13.82+00:00

Hello all,

We are trying to implement a rule based alerting system that notifies user logon's for "Local-Admin" users , targeting all the monitored servers.

To test the same , we have created a rule as follows with personal credentials ( server login credentials).
215813-image.png

215728-image.png

we are able to generate alerts upon user log on , but we are unable to see logged on user details in the alert as well as event viewer security logs for event ID 4624.
after logging into the server, several (50) new entries are being generated in the event log and the same is being reflected in SCOM console.
215777-image.png

Please assist us to proceed further.

Sushanth S K

System Center Operations Manager
System Center 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,608 questions
0 comments No comments
{count} votes

Accepted answer
  1. SChalakov 10,576 Reputation points MVP Volunteer Moderator
    2022-06-29T10:19:00.697+00:00

    Hi all,

    the event is the right one. The only thing that needs to be done is the paramter mapping. There are two links that can help you do that. Link Nr.1 is from Kevin Holman:

    Authoring rules for Windows 2008 events, and how to cheat
    https://kevinholman.com/2009/02/24/authoring-rules-for-windows-2008-events-and-how-to-cheat/

    and link Nr.2 is from the Q&A forums here (in particular the answer of Crystal):

    Server Logon Monitor in SCOM 2016
    https://learn.microsoft.com/en-us/answers/questions/389856/server-logon-monitor-in-scom-2016.html

    This one will surely help also:

    SCOM monitoring for event ID 4624
    https://social.technet.microsoft.com/Forums/en-US/8ade29fd-08df-4d92-8b9b-c02eec2902d9/scom-monitoring-for-event-id-4624?forum=operationsmanagerauthoring

    I hope I was able to help.

    ----------

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


1 additional answer

Sort by: Most helpful
  1. Andrew Tabar 271 Reputation points
    2022-06-28T14:46:23.077+00:00

    That particular user field you're pointing at is the user account generating the event. If you look in event viewer, a lot of events have N/A for the User value. If you want the user id that's logging on, it's probably event parameter 2 that you can get by using $Data/Context/Params/Param[2]$ (in the body of the alert)

    if you want to filter for specific user IDs when they logon you can try the event parameter or EventDescription in the filter/criteria for the rule.


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.