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

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. […] You can then run the complete command from a Timed Commands/Execute a command rule. You can then create a Alert Generating Rules/Event Based/Generic Text Log (Alert) rule to monitor that ftp_log.log file. In this post you can read how to setup a rule to check a logfile. Your ftpscript.ftp file can look like this […]

  2. […] 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.