How to enable a command notification channel
To configure alert notifications for System Center - Operations Manager, your first task is to enable a notification channel. This topic describes how to configure a channel that runs an executable program automatically in response to an alert.
To create a command notification channel, you need the following information:
Full path of the command file.
Command line parameters.
The startup folder for the command, which is the path of the program you want to run.
To enable a command notification
Log on to the computer with a user account that is a member of the Operations Manager Administrators role.
In the Operations console, click Administration.
In the navigation pane, under Notifications, right-click Channels. Click New channel and then click Command.
Type a unique name for this command channel in the Notification command channel name box and a brief description in the Description box. Click Next.
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:\windows\system32\cscript.exe". Type any parameters that you want to run with this command in Command line parameters box. Type the directory for this command in the Startup folder for the command line box.
Click Finish, and then click Close.
To designate when to send notifications and the addresses to which the notifications should be sent to, review How to create notification subscribers
Create a notification subscription to define the criteria, notification channel, and subscribers that will receive the notification.
To create a text message (SMS) notification channel, see How to enable a text message (SMS) notification channel.
To create an email notification channel, see How to enable an email notification channel.
To create an instant message notification channel see, How to enable an instant message notification channel.