Showing posts with label operations manager. Show all posts
Showing posts with label operations manager. Show all posts

Friday, September 24, 2010

Ops Mgr Command Line Switches

If you ever wanted to start Ops Mgr from the command line, or force it into certain views when it comes up, here's the ticket:


That plays out as:

Microsoft.MOM.UI.Console.exe {/option[:value]}

/? - show this help window
/ClearCache - clear the UI cache
/Server: - connect to the specified server
/Viewname: - display a view
/Taskname: - run a task
/TaskTarget: - use in conjunction with /task
/ManagementPack: - use in conjunction with /taskname and /viewnane options

Monday, June 7, 2010

Displaying a Percent Sign (%) in a SCOM Event Description

I googled around a bit and discovered that the SCOM's "Description" field in the "Details" pane is actually rendered in HTML. Handy info, that, but it didn't help me get a percent sign rendered.

I ended up trying every contrivance you can imagine to try to make it happen -- all to no avail.

Ultimately, the magic that worked: "%%". Go figure.

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