Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSIS & WMI Data Reader Task Query


SSIS & WMI Data Reader Task Query

Author
Message
dave-dj
dave-dj
SSC Eights!
SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)

Group: General Forum Members
Points: 854 Visits: 1149
Comments posted to this topic are about the item SSIS & WMI Data Reader Task Query

_____________________________________________________________________________
MCITP: Business Intelligence Developer (2005)
Kruti Kansara
Kruti Kansara
Mr or Mrs. 500
Mr or Mrs. 500 (584 reputation)Mr or Mrs. 500 (584 reputation)Mr or Mrs. 500 (584 reputation)Mr or Mrs. 500 (584 reputation)Mr or Mrs. 500 (584 reputation)Mr or Mrs. 500 (584 reputation)Mr or Mrs. 500 (584 reputation)Mr or Mrs. 500 (584 reputation)

Group: General Forum Members
Points: 584 Visits: 412
Hi,

Very good article!!! Smile

Actually, as you mentioned in this article, WMI is very least used but the most powerful technique. It will be good if the article contain the basic idea about it with some link to WMI. It will be more helpful to the reader to have a thought about WMI as it is not widely used.

But for those who are aware with WMI, this is the best article!!!

Thanks for sharing such.

Good Luck.

"Don't limit your challenges, challenge your limits"
dave-dj
dave-dj
SSC Eights!
SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)

Group: General Forum Members
Points: 854 Visits: 1149
Thanks :-D

_____________________________________________________________________________
MCITP: Business Intelligence Developer (2005)
robmasonjr67
robmasonjr67
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 91
Excellent article - implementing this as we speak...

Change syntax of query from:
SELECT FreeSpace, DeviceId, Size, SystemName, Description FROM in32_LogicalDiskwhere DriveType= 3

to

SELECT FreeSpace, DeviceId, Size, SystemName, Description FROM win32_LogicalDisk where DriveType= 3

Thanks!
darryl_marshall
darryl_marshall
SSC-Addicted
SSC-Addicted (488 reputation)SSC-Addicted (488 reputation)SSC-Addicted (488 reputation)SSC-Addicted (488 reputation)SSC-Addicted (488 reputation)SSC-Addicted (488 reputation)SSC-Addicted (488 reputation)SSC-Addicted (488 reputation)

Group: General Forum Members
Points: 488 Visits: 360
great article. Having a look at using at the moment. Love that you included a pdf with more details and screenshots.



Elliott Whitlow
Elliott Whitlow
SSCrazy Eights
SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)

Group: General Forum Members
Points: 8950 Visits: 5314
I agree, good article, with only one real type that was easy to fix..

CEWII
robmasonjr67
robmasonjr67
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 91
For you guys who are implementing this - what interval are you running?
I have it running every 6 hours watching 3 of our most critical servers, each with 3 logical disks (all VMs).

We intend on coming up with a chart to show trends for day/week/month.

How are you guys planning to use it?
darryl_marshall
darryl_marshall
SSC-Addicted
SSC-Addicted (488 reputation)SSC-Addicted (488 reputation)SSC-Addicted (488 reputation)SSC-Addicted (488 reputation)SSC-Addicted (488 reputation)SSC-Addicted (488 reputation)SSC-Addicted (488 reputation)SSC-Addicted (488 reputation)

Group: General Forum Members
Points: 488 Visits: 360
I'm just going to use this to check some remote machines once a day for now, nothing mission critical.



Steve Margolis
Steve Margolis
Valued Member
Valued Member (74 reputation)Valued Member (74 reputation)Valued Member (74 reputation)Valued Member (74 reputation)Valued Member (74 reputation)Valued Member (74 reputation)Valued Member (74 reputation)Valued Member (74 reputation)

Group: General Forum Members
Points: 74 Visits: 272
Excellent article, Dave, and the timing couldn't be better as I have recently been tasked with producing Server availability reports, which I will use TempDB creation date for.

I had already done the first three steps when I found your article. Steps 4 and 5 are straightforward, but I ran into a snag with Step 6 - Building the Server Query Loop. You say to add a For each Loop Container to the data flow work area, but the only Foreach Loop Container I can find are in the control flow items.

I was using BIDS 2008 and thought perhaps things got changed, so I tried the same thing with BIDS 2005, but the FeLC is in the same place. What am I missing?

Using the FeLC in the Control Flow, I had some problems initially. I don't have a lot of SSIS experience yet, and it took a lot of poking and prodding to find that Ihadto click on the words "Foreach File Enumerator" to see the pull down list where I found "Foreach ADO Enumerator" which then gave me the ADO object source variable window where I foung User::ServerList to select, as well as the radio buttons to select Rows in the frist table.

But it remains in my Control flow tab, not my Data flow tab. I'll see what happens in Step 7.

Again thanks for a super article.
dave-dj
dave-dj
SSC Eights!
SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)SSC Eights! (854 reputation)

Group: General Forum Members
Points: 854 Visits: 1149
Sorry, your perfectly right, the FELC for step 6 should be on the control flow screen. Bit of a typo I'm afraid. If you get any other problems then let me know.

_____________________________________________________________________________
MCITP: Business Intelligence Developer (2005)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search