image Command notifications differ from the other available notification channels. A command notification allows you to run an executable program automatically in response to an alert. Because you can run multiple commands in response to an alert you must assign a unique name to each command notification that you create.

To enable a command notification

  1. Log on to the computer with a user account that is a member of the Operations Manager Administrator role for the Operations Manager 2007 management group.

  2. In the Operations console, click the Administration button.

  3. In the Navigation tree, under Notifications, right-click Channels. Click New channel and then point to Command.

  4. Type a name for the channel, such as Command channel and optionally provide a description. Click Next.

  5. Type a unique name for this command channel in the Notification command channel name box and a brief description in the Description box.

  6. In the Notification command configuration area, type the path to the executable file that you want to run in the Full path to command file box. For example, “%systemroot%\cmd.exe” or “c:\winnt\system32\cscript.exe”. Type any parameters that you want to run with this command in Command line parameters box. Type the path of the directory that is used for any output of this command in the Startup folder for the command line box.

  7. Click Finish, and then click Close again to return to the Operations console.

After you have enabled the command notification channel, do the following:

  • Create a new recipient that has the command selected as a device.
  • Create a new subscription and select only the recipient created for this command.

Hope this helps,

Satish Phatge | System Center Support Engineer