Creating an SAP ASE Alert

Use the Add Alert wizard to create an alert instance for your resource.
Prerequisites
Warning!  Use caution in writing scripts. A poorly designed script can cause a blocking situation, creating a deadlock in your SCC server.
Task
  1. In the Perspective Resources view, select the resource for which the alert is to be created, then click the drop-down arrow next to a server name and select Properties.
  2. Select Alerts in the left pane and click Add.
    The Add Alert Wizard opens. You will be notified if e-mail server information has not been configured. You have the option to open the SAP Control Center > General Settings to configure an email server.
  3. On the Resource page of the wizard, select the object for which to set the alert. Expand the folder representing the server or agent to select lower-level child objects.
  4. Click Next.
  5. On the Alert Name page, select the alert type and click Next.
    The type of alerts listed will correspond to the type of objects selected in the Resource view. Each alert is based on key performance indicators (KPI).
  6. Based on the type of alert you selected, do one of the following:
    • For a state-based alert, select a severity level for each alert state.
      Note: You can associate only one severity level with each state.
    • For a threshold-based alert, review and if necessary, adjust the range of values that defines each severity.
  7. Click Next.
  8. (Optional) Enter the storm suppression period. Storm suppression blocks redundant alert notifications and script executions resulting from the same condition for the specified period of time. Enter this value in seconds, minutes, or hours and click Next.
  9. (Optional) To configure this alert to trigger the execution of a script:
    1. Alert Severity specifies the severity level that triggers the script. Select Critical, Warning, or both.
      Critical is typically more serious than Warning.
    2. Browse to the location of the script.
      Note: In UNIX, make sure the script is executable. You cannot select a script unless it has execute permission.
    3. If the script requires parameter values, click Select Parameters to enter them in the Execution Parameters box.
      You can include a number of predefined substitution parameters, which are replaced by values from the alert. The parameter values are passed on the command line to the script. See the substitution parameters topic for more information.
      Note: When you test a script, SAP Control Center supplies test values for the %Severity% and %Source_Application% parameters (“Testing” and “TestScriptExecution,” respectively). Any test values you supply for these parameters are discarded. This prevents the test results from being confused with real script results after testing and in the SCC repository.
    4. (Optional) Click Test to perform a test execution of your script.
      If your script takes parameters, the test may fail if parameter values are missing or incorrect.
    5. Click Next.
    If the selected resource has sibling resources (databases or devices of the same type, for example) that support this alert type, you see the Duplicates page. If the selected resource has no identical siblings, you see the Subscription page.
  10. (Optional) On the Subscription page, specify e-mail addresses if you want this alert to issue e-mail notifications when it fires.

    The e-mail addresses default to the address in your user profile, but you can override the defaults.

    For both critical and warning alerts:
    Alert subscription details
    Option Description
    E-mail To send an e-mail notification when this alert fires, click the E-mail Message box and enter the e-mail address of one user or list.
    Escalation E-mail To escalate this alert (by sending another e-mail notification if this alert has not been responded to after a specified period of time), click the Escalation E-mail box and enter the e-mail address of one user or list. You cannot enter an escalation address unless you enter an address for primary notification first.
    Time Period Specify how long to wait, following the initial alert notification, before SCC sends an e-mail notification to the escalation address. (The same notification is sent again to the original notification address.) Select a time unit (hours, minutes, or seconds) and enter a number.
  11. Click Finish.
  12. See Alerts to determine which collection job should be running. From the Perspective Properties view, click Collections Jobs to check collections currently scheduled.
Related concepts
Alert Subscriptions
Alert Notifications
Alert-Triggered Scripts
Related tasks
Displaying SAP ASE Alerts
Modifying an Alert
Deleting an Alert
Related reference
SAP ASE Alerts
Alert Types, Severities, and States for SAP ASE