June 16, 2004 at 1:19 am
Hi Gurus,
Is there any way to monitor DTS packages ? as we do for queries etc by running a profiler. As I have to monitor the remote servers, thought of using the profiler which will give the required information.
If there is any possibility of monitoring the DTS packages, what will be the event classes and data columns to be selected.
Any help would be appreciated.
Thanks in advance.
Lucky
June 16, 2004 at 8:43 am
Not that I am aware of. Might try logging to a table or file thru package properties. That will give you a good idea.
June 16, 2004 at 10:48 am
I monitor 127 jobs that are run daily, and so far the best way has been created BEGIN job step that stamps a table, and a END job step. I wrote a ASP page that read the table and looks to make sure the daily job ran, if not it list the job and I go check it out.
I use this same logic for Weekly and Month jobs and it works very well. Here is the status table
CREATE TABLE [Status] (
[JOBNAME] [varchar] (40) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[LASTRUN] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[DESCRIP] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[SEQ] [nvarchar] (6) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[JobActive] [char] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Sched] [char] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[BeginTime] [datetime] NULL ,
[EndTime] [datetime] NULL ,
CONSTRAINT [PK_BarStatus] PRIMARY KEY CLUSTERED
(
[SEQ]
  WITH FILLFACTOR = 90 ON [PRIMARY]
) ON [PRIMARY]
GO
The Descrip field is a 2 line description of the job, schedule either has a 0 = daily job, or 1 thru 7 for weekly job, M for monthly job.
June 17, 2004 at 7:36 am
There are also a series of "sys" tables in MSDB that you could check against.
Darrell Parrish
La Crosse, WI
June 17, 2004 at 8:10 am
Check out the related post at...
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=120942
I personally use a DTS to call and execute another DTS. This method allows me to log each step of the called DTS after it has finished processing. I log (write to a table) the DTS name, step name, step description, status (success/failure) and the start and end times.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply