Collect information from an exprenal SQL DB and collect it into a SCOM Databag so we can collect the data, report and report on it.

The DB is collecting counts.  We want to collect the counts into a bag, then once in the bag be able to report the counts (need to collect on an hourly basis)

Hi TLC426,
you can use a timed powershell or vb script to connect to the db and run a sql command against it. The result must then be parsed and returned in the property bag.
As a starting point you should have a look at Pete Zerger's blog post
http://www.systemcentercentral.com/scom-query-sql-database-for-value-in-monitoring-script/ .
Just wrap around the creation of a property bag and replace the eventlog entry generation with returning the value.
Please keep in mind that you should always should return a property bag, even it is empty.
Regards
Boris
Regards, Boris

Similar Messages

Maybe you are looking for

  • Can't get ipad to charge in car ups port

    Can't get ipad to charge in ups port in car all other phone and others charge

  • Can I run iPhoto in Snow Leopard 10.5.8?

    I am a novice Apple user and have just acquired a used iMac 7,1.  There are many confusing (to me) discussions regarding this issue. Any and all feedback would be greatly appreciated. Regards Terry

  • How well does Aperture 2.0 run on the new 13" Macbook Pro?

    Hi, I'm seriously considering buying a new mac in the next week or so. I was just wondering if any of you had any advice as to whether the new 13" Macbook Pro is good enough to run Apple's Aperture 2.0, quite well? I'm not worried about the screen si

  • Error 23002 when restricting access to specific TS

    I am a bit stumped at the moment on my TSGW.  I am attempting to restrict which Terminal Servers the TSGW will redirect to. I am doing this via RAP > Network Resource > "RD Gateway-managed group" I created a new group and added the FQDN of the TS I w

  • Export AD users to csv and import them to Exchange using shell

    I'm implementing Exchange 2013 on a Windows server 2012R@ network. Now i want to import the users from the AD on the server into the Exchange server. I've created a csv from the AD users, but there begins the problem. I can't seem to get past some is