Lesson 4: Test an alert

In this lesson, you intentionally trigger an alert so you can practice handling alerts.

 To view and resolve an alert
  1. Trigger an alert by shutting down the resource.

    For example:

    1. On Windows, double-click the MobiLink server icon in the system tray for the MobiLinkServerSample MobiLink server.

    2. Click Shut Down in the MobiLink server messages window.

    3. Click Yes.

  2. Log in to the Monitor as an administrator. See Lesson 1: Log in to the Monitor as the default administrator.

  3. Choose Dashboards » Overview.

    In the Resource List, the Status for the MobiLinkServerSample resource changes to a red circle with a white x through it. This icon indicates that the resource is unavailable.

    In the Alerts widget, an Availability Alert appears and its status is Active.

    It can take a few seconds for these changes in state and status to occur. By default, the Monitor collects information from the resource every 30 seconds. See Collection intervals.

  4. In the Alerts dashboard, click the Availability Alert, and then click Details to read the description.

  5. Click OK to close the alert.

  6. Restart the Synchronization Server Sample.

    From the Start menu, choose Programs » SQL Anywhere 12 » MobiLink » Synchronization Server Sample.

    In the Monitor, in the Resource List, the Status for the MobiLinkServerSample resource changes to a yellow triangle. This icon indicates that the resource is being monitored and it has an alert. In the Alerts List, the State of the Availability Alert changes to Inactive. An inactive alert indicates that the issue that triggered the alert is no longer present, but the alert has not been resolved or deleted.

    Alerts List with an Resolved by admin alert.
  7. Resolve the alert by selecting the alert and clicking Mark Resolved.

    Note

    Only administrators and operators can resolve and delete alerts. See Monitor users.

    Now in the Resource List, the Status for the MobiLinkServerSample resource is blank. No icon in the Status column indicates that the resource is being monitored and it has no alerts. In the Alerts List, the State of the Availability Alert changes to Resolved by admin where admin is your Monitor user name.

    Alerts list with a Resolved alert.
  8. Delete the alert by selecting the alert and clicking Delete.

    When prompted, click Yes to confirm the deletion.