For each alert definition, you can specify the actions that should occur when the alert is triggered.

This topic provides instructions on how to view and modify alert actions, and information on configuring actions for the Alert Action Failure alert.

Viewing and configuring alert definition actions

To view and modify alert actions

  1. In the Forefront TMG Management console, in the tree, click the Monitoring node.

  2. In the details pane, click the Alerts tab.

  3. On the Tasks pane, click Configure Alert Definitions.

  4. In the Alert Definitions list, select the alert you want to modify, and then click Edit.

  5. On the Actions tab, configure the alert action. You can define alerts to perform one or more of the following actions when triggered:

Configuring an alert to send an e-mail message

You can specify the following settings when configuring an alert to send an e-mail message when the alert is triggered:

To configure an alert to send an e-mail message

  1. On the Actions tab, click Send e-mail.

  2. Type the name of your organization's SMTP server. Note the following:

    • If you specify an SMTP server located on the Internal network, you must enable the system policy rule to allow this traffic. To do this, in the Remote Monitoring configuration group of the System Policy Editor, select SMTP, and then click Enable. This enables the "Allow SMTP from Forefront TMG to trusted servers" system policy rule.

    • If you specify an SMTP server located on the External network, you must create an access rule that allows the Local Host network to access the External network (or the network on which the SMTP server is located), using SMTP.

  3. In the From box, type the e-mail address of the sender.

  4. In the To box, type the e-mail addresses of the recipients.

  5. Click OK to save the new action for this alert, and then click Apply on the Apply Changes bar.

Configuring an alert to run a program

You can specify the following settings when configuring an alert to run a program when the alert is triggered:

To configure an alert to run a program

  1. On the Actions tab, click Run a program.

  2. For Program file, type the location of the program.

    Note:
    The program path specified must exist on all Forefront TMG servers in the array. It is therefore recommended that you use an environment variable (such as %SystemDrive%) within the path name in order to allow per-server adjustment of the path.
  3. For Parameters, type the appropriate parameters for running this program.

    Note:
    Do not specify an interactive program that requires user input.
  4. Click Set Account if a user account other than the Local System Account is required, and type the appropriate user credentials.

    Note:
    Use the Local Security Policy to configure user privileges.
    Note:
    Be sure that the specified user has Logon as batch job privileges.
  5. Click OK to save the new action for this alert, and then click Apply on the Apply Changes bar.

Configuring actions for Alert Action Failure alert

Although the Alert Action Failure alert can be configured, it is recommended that you do not edit properties for this alert. If the action for this alert fails, the failure is not registered anywhere, and troubleshooting will be difficult.

If you encounter this alert, check the event log for action failures. Check the event message associated with the failure, and the previous events issued before the action failure event. They may provide additional information about which action failed.

Related Topics


Copyright © 2009 by Microsoft Corporation. All rights reserved.