Monday, June 7, 2010

Microsoft OpsMgr 2007 SDK Severity Levels

Documented here as much for my future reference as yours...

If you're using the SDK and are instantiating a CustomMonitoringEvent class, it comes with a LevelID property which holds an int. The value of that property determines the severity level the event is assigned, with the following mapping:
  • 1-Error
  • 2-Warning
  • 4-Information
  • 8-Success Audit
  • 16-Failure Audit
I found this via Google on the MSDN SDK web site, embedded in sample code. I didn't want to have to try to do that again.

Curious, see the original site here: http://msdn.microsoft.com/en-us/library/bb437567.aspx

No comments:

Post a Comment