Enable a Command Notification Channel in Operations Manager 2007 SP1

適用於: Operations Manager 2007 SP1

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.

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.

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 Administration pane, click Settings. In the Settings pane, right-click Notification, and then click Properties.

  4. Click the Command tab, and then click Add. The Notification Command Channel dialog box displays.

  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 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 the Command line parameters box. Type the path of the directory used for any output of this command in the Initial directory box.

  7. Click OK and then OK again to return to the Operations console.