Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Integration Server Administrator's Guide | Configuring webMethods Enterprise Gateway | Specifying Alert Options | Specifying Default Alert Options
 
Specifying Default Alert Options
By default, if an Enterprise Gateway rule does not specify an alert type, Enterprise Gateway Server does not send an alert when a request violates the rule. If you want to issue an alert even when no alert type is specified for the rule, you can configure default alert options.
Note:
In order to send email alerts about rule violations, the Integration Server acting as the Enterprise Gateway Server must be configured to send emails. Check the settings on the Settings > Resources screen under Email Notification. If your Enterprise Gateway Server is not configured to send emails, see Sending Messages About Critical Issues to E-mail Addresses.
*To specify the default alert options
1. Open Integration Server Administrator on the Integration Server acting as the Enterprise Gateway Server.
2. In the Navigation panel, select Security > Enterprise Gateway Rules.
3. In the Navigation panel on the Enterprise Gateway Rules screen, select Default Alert Options and then click Edit Default Alert Options.
4. From the Alert Type list, select one of the following options:
Select...
To...
None
Not send any alerts. This is the default.
Email
Send email alerts.
Flow Service
Invoke a flow service to alert you of a rule violation.
5. In the Send Alert box, do one of the following:
*If you want Enterprise Gateway Server to send alerts every time a request violates a rule, select On rule violation.
*If you want Enterprise Gateway Server to send alerts at specified intervals, select Every and then enter the time interval (in minutes). When a request violates the rule, the server sends an alert. If the violation occurs again within the specified time interval, the server waits until the end of the time interval before sending the alert. For example, suppose you specify the time interval as 1 minute. At 10:00, a request violates the rule and the server sends an alert. Ten seconds later, another request violates the rule. Ten seconds later, yet another request violates the rule. The server waits until 10:01 to send a summary of alerts that were generated in the time interval.
6. If you selected email as the alert type, enter the email addresses to which you want to send the alerts in the Email Addresses box. You can enter multiple email addresses. Separate addresses with semicolons (;).
7. If you selected flow service as the alert type, do the following:
a. In the folder.subfolder:service box, enter the fully qualified service name of the flow service you want Enterprise Gateway Server to execute.
Note:
Use the pub.security.enterpriseGateway:alertSpec specification as the signature of the flow service. For more details about the specification, see webMethods Integration Server Built-In Services Reference.
b. In the Run As User box, enter the user name you want Enterprise Gateway Server to use when running the service. Click to search for and select the user. You can select a user from the local or central directory.
Enterprise Gateway Server runs the service as if the user you specify is the authenticated user that invoked the service. If the service is governed by an ACL, be sure to specify a user that is allowed to invoke the service.
8. Click Save Changes.