Alerts and Notifications - Creating an Alert Rule
Before You Begin
- To see the Alert Rule button, users must have Administrative Management capabilities at the CommCell level. For information on assigning capabilities to a user, see Assigning Capabilities to a User Group.
- Obtain or write the query to use in the alert rule:
Only SQL databases located on the CommServe computer can be queried.
- Write your own query.
- Use CommCell Views as the basis for the query. For information see CommCell Views.
- Install an alert rule using the Software Store. For information see Installing Alert Rules from Software Store.
- Use one of the predefined alert rules provided in the Alert Rules dialog box. For information see Custom Rules.
- From the CommCell Console ribbon, click the Home tab and then click Alert.
- In the Alerts dialog box, click Alert Rule.
- In the Alert Rules dialog box, click Add.
The Create New Alert Rule dialog box appears.
- On the General Information page in the Alert Rule Name box, type a name for the alert rule.
This is the name used when this alert rule appears in the add alert wizard.
- In the Severity list, select Critical, Warning, or Information.
This is the default severity used when this alert rule appears in the add alert wizard.
- In the Description box, type the purpose of the rule.
- Click Next.
- On the Please Specify SQL File Location or Enter SQL Query page in the SQL Query box, do one of the following:
- Type the SQL query.
- Click Import from File to import a script or text file containing the query.
- Optional: Use the Manage Inputs button to add a user input field. See Managing Inputs.
- Optional: Use the Insert Variable button to add a variable to the query:
- Click in the SQL Query box to place the cursor where you want to insert the variable.
- Click Insert Variable.
System variables, such as userName, and any inputs created using the Manage Inputs button are available in the Insert Variable dialog box.
- Select the variable and click OK.
The variable is inserted prefixed with an at sign (@), for example, @userName.
- Click Next.
- On the Please Specify Output Columns page, click Refresh to populate the output column table automatically.
- Optional: Customize or add query output columns to change what users see when they use the alert rule to create an alert. See Customizing Output Columns.
- Click Next.
- On the How Often to Run This Query page, select the options for the schedule and click Next.
- On the Security Details page, select Private to make the alert rule only visible to you, or select Public to select user groups who can view the alert rule.
The Private setting does not affect the add new alert wizard. Once the custom alert rule is created, users can see it in the add new alert wizard.
- Click Finish to create the rule.
You can now create an alert based on this rule.