Displaying distributed application state via SDK in OpsMgr

Displaying the current health state of a distributed application with the SDK might come in handy if you want to show that data somewhere except the Ops Console (e.g. WebPart, intranet portal/web site, or just in an admin script).

The code to do that is very simple. Here is a simple command line tool that enumerates all objects that inherit from ServiceDesigner.GenericService (those are the ones created from a blank template in Ops Console):

MonitoringClassCriteria baseclassCriteria = new MonitoringClassCriteria(“Name = ‘Microsoft.SystemCenter.ServiceDesigner.GenericService'”);

The tool (code +bin) can be found here:


Hope you find this useful.


~ by alipka on September 14, 2008.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: