Your Ad Here
Home Subscribe to RSS Subscribe to RSS Affiliated Sites Follow me  Follow gusac on Twitter Subscribe Subscribe


Data collector set does not start at system start up

31.Dec.2009 | by Gusac | Filed in: Windows

While working on Windows 2008 SP2 I came across a situation where we needed to configure Data Collector Set (Perfmon) and wanted it to trigger an email when the values for certain object reach a predetermined threshold. All went well, except the logs just won't start automatically after the reboot! We tried it on Windows 2003 and Windows Vista. It works fine, the perfmon logs get started automatically after system restart but not on Windows 2008 server.

Next, we tested with Windows 2008 SP2 R2 server and even it did start the perfmon logs automatically. So the problem was on the Windows 2008 server only. I searched and searched but could not find anything. The other option availabe was to reconfigure the logs using logman.exe but that too did not promise to resolve our issue. So here is what we did:

We configured the Data collector set, the way normally do in MMC and then created a startup entry to start the data collector using command line.  The command line to start the data collector set is:

Logman start <data collector set name>

You can put this command in the following registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Value name: Startlog (could be any name that you want)
Value type: REG_SZ
Value data: Logman start <data collector set name> (<data collector set name> should be the log name that you created)

 

Update: Created the blog entry at:  http://winplat.net/post/Data-collector-set-does-not-run-at-system-start-up.aspx

Comments

6/18/2010 9:24:30 PM #

Hi Gusac

The above blog on data collector set is a good one.
One thing is not clear - was the data collector set locally or remotely?
It seems from the description that it was set locally.
This confusion is there because when you say that we tested it on 2003
then we don't have data collector set on 2003 - it is perfmon (thou they are same)

So was it set remotely for the windows 2003 box also?

Keep up the good work.

Thanxs

ravi sujanani | Reply

7/11/2010 10:10:37 PM #

Hey Ravi,
It does not matter here if we are collecting logs on either 2003 or 2008, remotely or locally because we are just creating the startup entry to launch the logs.

In case you are collecting logs remotely, you need to modify the registry on the machine which is collecting the logs.
We just need to mention the name of the log (perfmon/data collecter set). the Logman command to start it is same in Windows 2003 and 2008.

I hope that answers your query.

Gusac | Reply

8/23/2010 8:51:05 PM #

Resources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog. I am sure my visitors will find that very useful

FESTA 18 ANNI ROMA | Reply

Add comment




biuquote
  • Comment
  • Preview
Loading



 
Site Viewed: times.