Share via


How to Enable a Command Notification Channel

 

Updated: May 13, 2016

Applies To: System Center 2012 R2 Operations Manager, System Center 2012 - Operations Manager, System Center 2012 SP1 - Operations Manager

To configure alert notifications for System Center 2012 – 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.

Important

Unlike the other notification channels, the command notification channel will run its command by using Local System, rather than the Notification Action Account.

To enable a command notification

  1. Log on to the computer with a user account that is a member of the Operations Manager Administrators role.

  2. In the Operations console, click Administration.

  3. In the navigation pane, under Notifications, right-click Channels. Click New channel and then click Command.

  4. 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.

  5. 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 directory for this command in the Startup folder for the command line box.

  6. Click Finish, and then click Close.

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