As other people have pointed out, use event handlers.
 
We use them here for a couple of specific things.  Primarily, to restart stopped services, using an NRPE plugin (either under windows or UNIX).
 
However, under windows, restarting services is more efficiently done by using the windows internal handler (set the service restart parameters) and then monitoring the eventlog for service restarts to let you know if this happens.
 
Steve

Reply via email to