Creating a Alert Rule
You can create rules based on the metrics on monitored entities to generate alerts on certain conditions.
In the alert rule, you specify a set condition to take some action if the condition is met. However, you must specify a clear condition and associated clear action as well so that you can undo the earlier action.
Procedure
-
In the Rules view, click
Create New Rule.
The Create Rule wizard is displayed.
-
Enter the details for the new rule and click
Next.
The Set Conditions page of the wizard is displayed.
-
Enter the details to create the set condition and click
Next.
Field Description Left drop-down The metrics of the monitored entity selected earlier. See Monitored Entities Reference for more details on the metrics for all monitored entities. Center drop-down The comparison operators for the condition. The values are: Right text box The value of the metrics for creating the set condition. Expression The option to add more condition to create a complex expression. Multiple conditions are combined using the AND and OR operators. The Set Action page of the wizard is displayed. -
Click
Add New.
The set action details page of the wizard is displayed.
-
Select the set action type, enter the action details, click
Save.
Action Type Description Set-Health-Action Sets the health of the instance if the condition is satisfied. You need special privilege to create health action, see Rules and Alerts for more details. The fields for the health action are: - Alert Level - The level of the alert. The values are:
- HealthValue - The health status of the instance to be set if the condition is satisfied. The values are:
- Alert Text - The text which is displayed in the alert. You can use alert tokens to insert dynamic values in alert text. See Alert Tokens Reference for list of alert tokens available in the BusinessEvents Enterprise Administrator Agent.
Email-Action Sends email to the specified recipients if the set condition is satisfied. Configure the SMTP server details in the BusinessEvents Enterprise Administrator Agent for the email action to work, see Email Action Configurations. The fields of the email action are: - Alert Level - The level of the alert. The values are:
- To - The email address of the primary recipient of the email
- Cc - The email address of recipient to which email is copied
- Bcc - The email address of recipient to which email is blind copied
- Subject - The subject of the email
- Body - The main body of the email
Log-Action Logs the alert text to the logs, if the set condition is satisfied. The fields of the log action are: - Alert Level - Level of the alert. The values are:
- Alert Text - The text which is displayed in the alert. You can use alert tokens insert dynamic values in alert text. See Alert Tokens Reference for list of alert tokens available in the BusinessEvents Enterprise Administrator Agent.
Alert-Only Generates only the alert and takes no other action. The fields are: - Alert Level - Level of the alert. The values are:
- Alert Text - The text that is displayed in the alert. You can use alert tokens to insert dynamic values in the alert text. See Alert Tokens Reference for list of alert tokens available in the BusinessEvents Enterprise Administrator Agent.
The new action is listed in the Set Action page of the wizard. -
If required, you can add more action or click
Next.
The Clear Condition page of the wizard is displayed.
-
Set the clear condition similar to the set condition that was created earlier (see
Step 3), and click
Next.
The Clear Action page of the wizard is displayed.
-
Set the clear action similar to the set action that was defined earlier (see
Step 4), and click
Save.
A new rule is created with specified conditions and actions and now listed in the Rules view.
Copyright © TIBCO Software Inc. All rights reserved.