Home » System Center Operations Manager 2007 » Monitor a logfile with Ops Mgr 2007

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.

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

Monitor a logfile with Ops Mgr 2007

I saw a question about monitoring a logfile with Ops Mgr 2007. Here is a short step by step guide

  1. In the console, under Authoring, Management Pack Objects, Rules, create a new rule
  2. Choose to create a Alert Generating Rules/Event Based/Generic Text Log (Alert), click next
  3. Input a rule name and choose rule target, click next
  4. Input a directory, for example C:\, input a pattern, for example logfile.log, click next
  5. Input the following expression,
    Parameter Name = Params/Param[1]
    Operator = Matches wildcard
    Value = warning
    click next
  6. Configure a suitable alert and then click create

Please note that this rule is case sensitiv, so it will make difference between WARNING and warning.


3 Comments

  1. […] I saw a question today about monitoring scheduled tasks with Operations Manager 2007. If you open the scheduled task window (start menu > all programs > accessories > system tools > scheduled tasks) you can open a logfile for your scheduled jobs, from the Advanced drop down menu, the default file is C:WindowsSchedLgU. You can monitor this file from Ops Mgr 2007, and search for words like WARNING and ERROR. In this post you can read how to setup monitoring of a logfile like that. […]

Comments are closed.