Event Triggers
 




IT Certification FAQ

 
|
Home
|
Microsoft
|
CISCO
|
CompTIA
|
Exam/Study FAQ
|
Employment FAQ
| Links  | Forums  |
Book Reviews


FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  ProfileProfile  Log in to check your private messagesPrivate messages  Log inLog in

Event Triggers

 
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.general
Author Message
F. David del Campo Hill
Guest





PostPosted: Mon Jun 25, 2007 12:02 pm    Post subject: Event Triggers Reply with quote

Hi all,

I am not sure if this can actually be done or it should be considered a
suggestion, but here it goes:

Is it possible to make Windows (XP and 2003, for example) execute a script
when a certain event occurs or is added to the Event logs?

At present I keep a record of printing jobs submitted to one of my servers
by scanning the Event logs once a day, extracting the print ones, and putting
them into a MySQL database. I would like to know if it is possible to have
the database-adding script being triggered by the Event instead of doing it
through a scheduled job.

Thanks for your help.

David
Back to top
Herb Martin
Guest





PostPosted: Mon Jun 25, 2007 3:40 pm    Post subject: Re: Event Triggers Reply with quote

"F. David del Campo Hill" <FDaviddelCampoHill@discussions.microsoft.com>
wrote in message news:977631E3-E511-4635-A32D-707DA3A0D26A@microsoft.com...
Quote:
Hi all,

I am not sure if this can actually be done or it should be considered a
suggestion, but here it goes:

Is it possible to make Windows (XP and 2003, for example) execute a script
when a certain event occurs or is added to the Event logs?

Sure, and you subject line IMPLIES that you may actually know the name of
the
tool <grin> and you even give a hint that you know it only works on 2003+
and XP+ (not on 2000).

EventTriggers.exe

....does this and was new in XP.


Quote:
At present I keep a record of printing jobs submitted to one of my servers
by scanning the Event logs once a day, extracting the print ones, and
putting
them into a MySQL database. I would like to know if it is possible to have
the database-adding script being triggered by the Event instead of doing
it
through a scheduled job.

You can set EventTriggers to run a specific batch file by monitoring any
Event
Log, for any EventID, by Type*, and by Source.

* Type == "ERROR", "INFORMATION", "WARNING",
"SUCCESSAUDIT" and "FAILUREAUDIT".

Just make sure you don't set it to run for some really common event (unless
you have thought that through.)

Quote:
Thanks for your help.

Sure, happy to help.


--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)
Back to top
Herb Martin
Guest





PostPosted: Tue Jun 26, 2007 5:36 am    Post subject: Re: Event Triggers Reply with quote

"Brad Rutkowski" <BradRutkowski@discussions.microsoft.com> wrote in message
news:9E04A08A-6BB0-4783-95FD-1661740ABFB4@microsoft.com...
Quote:
Built into Vista/Windows Server 2008 BTW.

As I wrote, built into 2003+ (or higher) and XP+ (or higher).

Quote:
--
This post is provided as-is and is my opinion, check the facts before
doing
anything in production.

http://blogs.technet.com/brad_rutkowski/archive/tags/DS/default.aspx


"Herb Martin" wrote:


"F. David del Campo Hill" <FDaviddelCampoHill@discussions.microsoft.com
wrote in message
news:977631E3-E511-4635-A32D-707DA3A0D26A@microsoft.com...
Hi all,

I am not sure if this can actually be done or it should be considered a
suggestion, but here it goes:

Is it possible to make Windows (XP and 2003, for example) execute a
script
when a certain event occurs or is added to the Event logs?

Sure, and you subject line IMPLIES that you may actually know the name of
the
tool <grin> and you even give a hint that you know it only works on 2003+
and XP+ (not on 2000).

EventTriggers.exe

....does this and was new in XP.


At present I keep a record of printing jobs submitted to one of my
servers
by scanning the Event logs once a day, extracting the print ones, and
putting
them into a MySQL database. I would like to know if it is possible to
have
the database-adding script being triggered by the Event instead of
doing
it
through a scheduled job.

You can set EventTriggers to run a specific batch file by monitoring any
Event
Log, for any EventID, by Type*, and by Source.

* Type == "ERROR", "INFORMATION", "WARNING",
"SUCCESSAUDIT" and "FAILUREAUDIT".

Just make sure you don't set it to run for some really common event
(unless
you have thought that through.)

Thanks for your help.

Sure, happy to help.


--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)


Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.general All times are GMT
Page 1 of 1

 

Copyright © 2002-2006 Web-S-Sense Pty. Ltd. All rights reserved.

Powered by phpBB
Advertising | Policies/Disclaimers | Contact us | Link to us


Featured Sites: Free Antivirus and Antispyware Info | Free PC Support | MCSE Directory