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 article 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
Sign in to the computer with a user account that is a member of the Operations Manager Administrators role.
In the Operations console, select Administration.
In the navigation pane, under Notifications, right-click Channels. Select New channel and select Command.
Enter a unique name for this command channel in the Notification command channel name box and a brief description in the Description box. Select Next.
Enter 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". Enter any parameters that you want to run with this command in Command line parameters box. Enter the directory for this command in the Startup folder for the command line box.
Select Finish, and select Close.
Next steps
To designate when to send notifications and the addresses to which the notifications should be sent, review How to create notification subscribers.
To define the criteria, notification channel, and subscribers that will receive the notification, create a notification subscription.
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.