Home » System Center Operations Manager 2007 » Test End-to-End Monitoring

Contoso.se

Welcome to contoso.se! My name is Anders Bengtsson and this is my blog about Microsoft infrastructure and system management. I am a principal engineer in the FastTrack for Azure team, part of Azure CXP, at Microsoft. Contoso.se has two main purposes, first as a platform to share information with the community and the second as a notebook for myself.

Everything you read here is my own personal opinion and any code is provided "AS-IS" with no warranties.

Anders Bengtsson

MVP
MVP awarded 2007,2008,2009,2010

My Books
Service Manager Unleashed
Service Manager Unleashed
Orchestrator Unleashed
Orchestrator 2012 Unleashed
OMS
Inside the Microsoft Operations Management Suite

Contoso.se

Welcome to contoso.se! My name is Anders Bengtsson and this is my blog about Azure infrastructure and system management. I am a senior engineer in the FastTrack for Azure team, part of Azure Engineering, at Microsoft.  Contoso.se has two main purposes, first as a platform to share information with the community and the second as a notebook for myself.

Everything you read here is my own personal opinion and any code is provided "AS-IS" with no warranties.



MVP awarded 2007,2008,2009,2010

My Books

Service Manager Unleashed


Orchestrator 2012 Unleashed


Inside the Microsoft Operations Management Suite

Test End-to-End Monitoring

In MOM 2005 there is a default task to test end-to-end monitoring. In Ops Mgr 2007 this task has been removed. If you want to create one on your own, you can do like this

  1. Create a new task in the Console, under Authoring and Management Pack Objects. Configure your new task to run a this
    scriptConst EVENT_SUCCESS = 0
    Set objShell = Wscript.CreateObject(“Wscript.Shell”)
    objShell.LogEvent EVENT_SUCCESS, _
       “Operations Manager 2007 end-to-end test event.”
  2. Create a new rule that collect event from the application log, event ID 0 and event source WSH. Configur the new rule to generate an alert with severity Information.

Summary, you have created a task that will run a script on a machine. This script will create a event in the local event viewer. The rule you have created will collect that event and generate an alert. With this alert you can verify that the communication with your agent is working.