Windows Scheduled Tasks Management Pack for OpsMgr 2007

August 12, 2014 – link to latest update: https://rburri.wordpress.com/2014/08/12/scheduled-task…pack-1-2-0-500/

Post last updated on July,1st 2009

Summary

For Windows Server 2003 and 2008.

I created a management pack, which discovers scheduled tasks and monitors them for successful execution as well as if they have a working schedule configured. On Windows 2003, the output of the schtasks.exe command is parsed. On Windows 2008 however; the Task Scheduler 2.0 library is used.

The object type ‘Windows Scheduled Task’ can be used in Distibuted Applications or to further categorize scheduled tasks by writing other management packs.

Features
Discovery:
  • Scheduled Tasks and AT tasks on Windows 2003 and 2008 Server
  • Server 2008 supports any OS language. On Server 2003 the following:
English, Dutch, German, French, Italian, Portuguese and Spanish
Monitors:
  • Last exit code
  • Invalid status (anything not 'Running' or NUL)
  • Next run definition available
  • Long running task (requires configuration)
  • Next scheduled execution skipped (task ran too long)
  • No active triggers defined (Windows 2008 only)
Rule:
  • Collect Scheduled Task job duration (if task runs > 1 minute)
Tasks:
  • Disable Scheduled Task
  • Enable Scheduled Task
  • Run Scheduled Task
  • End Scheduled Task
  • List all Scheduled Tasks
View:
  • Scheduled Task state
Scheduled Task Screen Shot

Scheduled Task Screen Shot

 

Download
Upgrade Compatibility

Due to the significant changes required to get Windows 2008 tasks managed and to incorporate language support for Windows 2003, this version of the MP is not upgrade compatible with the previous ones. Should you have been using the Windows 2003 management pack (Version 1.1.0.20 and below), you need to remove the old one before importing the 1.1.1.0 ones. My apologies for that.

Advertisements

Windows Media Services Management Pack for OpsMgr 2007

Last updated May 5, 2009

Introduction 

Currently there is no management pack available for Operations Manager 2007 to monitor Windows Media Services 9 on Server 2003 or Windows Media Services 2008 (9.5). For MOM 2000/2005 a management pack can be downloaded from Microsoft’s catalogue. When originally using the MOM 2005 version for a network radio application, it became obvious that it was a bit basic and lacked some features that were needed. Over time I built extra discovery, monitoring, tasks and reports around it. Later I ported and consolidated most of it into a native OpsMgr 2007 management pack. I did not actually use any code from the MOM 2005 pack but rather wanted to get together a native OpsMgr 2007 one.

The performance monitors are based on information published in the whitepaper ‘Optimizing Windows Media Services’ available from Microsoft: http://www.microsoft.com/windows/windowsmedia/howto/articles/optimize_web.aspx

Contents
  • Discovery: Windows Media Services Computer Roles and Publishing Points
  • Compatibility: Windows Server 2003 and Windows Server 2008
  • Rules and Monitors: Availability and Performance related
  • Tasks and Recoveries
  • Reports
Instructions

Please read the management pack guide document fist. I tried to make it as complete as possible. If you have questions,  find mistakes, have ideas on what to include in the management pack or would like to get an XML version of the management pack, contact me by email.

Update (May 5, 2009): supports Windows Media Services 2008 – V. 1.0.2.10

Download WMS 9 Management Pack Guide V 1.0.2.10

Download WMS 9 Management Pack V 1.0.2.10 (sealed) (rename after downloading – it is a zip file)