views:

240

answers:

1

What would be the best way to expose information from an ASP.NET webservice to SCOM or WMI? I'm interested in basically exposing performance information so the service can be monitored: ie. get a metric of calls processed per hour, total calls per day, etc.

EDIT: This would have to run under standard ASP.NET permissions

+1  A: 

You'll need to write a WMI provider to expose info to WMI - there's an example on CodeProject. An alternative, possibly simpler, would be to expose some custom performance counters as outlined in this article.

Stuart Dunkeld