[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1211
  • Last Modified:

How do you implement critical Event ID monitoring report

Hi Everyone,

How do you monitor these event ID across your domain ?

can anyone give me suggestion or share the Powershell script to email / report this please ?

Thanks.
Application:
1002 Application Hang
1000 Application Error

Hardware Related:
7, 9, 11, 51, 52, 55 Potential HD related issue 
1053 Servers too hot. Sometimes our Air conditioning breaks. 

Security Log:
529 Logon Failure - Unknown user name or bad password
530 Logon Failure - Account logon time restriction violation
531 Logon Failure - Account currently disabled
532 Logon Failure - The specified user account has expired
533 Logon Failure - User not allowed to logon at this computer
534 Logon Failure - The user has not been granted  the requested logon type at this machine
535 Logon Failure - The specified account’s password has expired
539 Logon Failure - Account locked out

On the Domain Controller:
Event 675 on a domain controller indicates a failed initial attempt to logon via Kerberos at a workstation with a domain account usually due to a bad password but the failure code indicates exactly why authentication failed
Event 642 indicates a change to the specified user account such as a reset password or a disabled account being re-enabled. The event’s description specifies the type of change.
Events 632, 636, 660 - All 3 events indicate the specified user was added to the specified group. Group scopes Global, Local and Universal correspond to the 3 event IDs
Event 624 - New user account was created.
Event 644 - Specified user account was locked out after repeated logon failures
Event 517 - The specified user cleared the security log.

Open in new window

0
jjoz
Asked:
jjoz
  • 3
  • 3
2 Solutions
 
KenMcFCommented:
How many servers do you want to monitor?

With all the events you want to get alerted on I do not think powershell would be the best choice. You would have to either pull servers from a text file or search AD. Then pull the event log and parse it out on all servers.

I think the better slution would be to get a product that is either able to pull the logs from the servers or has a client install that sends the logs to a central location. One product is splunk and there are several others. Here are a few links to look over.

http://www.nagios.org/products/enterprisesolutions/splunk
http://www.splunk.com/
http://nagios.org/

Microsoft has their own product to.

http://www.microsoft.com/systemcenter/en/us/operations-manager.aspx
0
 
jjozAuthor Commented:
ahh so at the moment i use splunk and nagios too, if i want to do this on my Windows Server then I must be installing syslog daemon plugin for windows to push the event ID to syslogd server for splunk to search.
0
 
KenMcFCommented:
it has been awhile since I have used nagios or splunk. But you should be able to setup the nagios agent on the servers and have them send the logs over. Then use splunk to better search for root cause or other events.
0
Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

 
jjozAuthor Commented:
well yes, i guess you're right
suppose I setup powershell script and then deploy using GPO into computer startup script then it will not run unless the user re-login the PC or the server restarted :-|
0
 
KenMcFCommented:
Yes if you set it up as a startup script it would only run when the server is rebooted. You could set it up on a schuled task to run every hour. But with the amout of events the could get complicated. You could use the get-eventlog cmdlets to pull the event logs from the past x hours. Then parse through them for the events you are looking for. If it find any send an email using the send-mailmessage cmdlet. It would be easier and more proficient to have an agent running send all events to the nagios server or another system like that. Then that system can send you the alerts that you need.
0
 
jjozAuthor Commented:
thanks man !
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now