Jump to content

Windows Event Log Notification


Recommended Posts

I have a specialized program that runs on my server. This program from time to time hangs and stops working. I would like to write a script to check the event log for this application hang error and then send out a notification to me. I'm not sure how to get this started. Any help would be greatly appreciated. Thanks

Link to comment
Share on other sites

I did find those functions. I'm having a difficult time putting them into a more specific format. Like...

If this error occurs in this time frame, run a program.

I'm new at scripting, but have had some limited success. I was hoping for a little more help than "See the help file".

Link to comment
Share on other sites

Pick one of the functions (i.e. _EventLog__Count), try out the example script in the help file and use the forum search on it. There have been running examples posted, some by me, some by smarter people.

Create a basic loop that just notices when the count of events changes, and work up from there. When you get stuck, post what you've got for more help.

That's not just "See the help file", that happens to be where the working examples are!

:graduated:

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...