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
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.
In the Operations console, click the Administration button.
In the Navigation tree, under Notifications, right-click Channels. Click New channel and then point to Command.
Type a name for the channel, such as Command channel and optionally provide a description. Click Next.
Type a unique name for this command channel in the Notification command channel name box and a brief description in the Description box.
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.
Click Finish, and then click Close again to return to the Operations console.
After you have enabled the command notification channel, do the following:
Hope this helps,
Satish Phatge | System Center Support Engineer