How to Enable a Command Notification Channel
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.
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
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:\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.
Click Finish, and then click Close.
After you have enabled the command notification channel, do the following:
Create a notification subscriber that has the command channel selected in the subscriber address. For more information, see How to Create Notification Subscribers.
Create a new subscription and select only the subscriber created for this command. For more information, see How to Create Notification Subscriptions.
How to Enable an Instant Message Notification Channel
How to Enable a Text Message (SMS) Notification Channel
How to Enable an Email Notification Channel
How to Create Notification Subscribers
How to Create Notification Subscriptions
Subscribing to Alert Notifications
How to Create and Configure the Notification Action Account
How to Customize Message Content for Notifications
How to Subscribe to Notifications from an Alert
How to Create Subscriptions Using Classes and Groups
How to Specify Which Alerts Generate Notifications (Conditions)
Sending Notifications for Specific Computers and Specific Alerts to Specific Teams