Lesson 3: Testing an alert

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

 View and resolve an alert
  1. Trigger an alert by shutting down the database server, MobiLink server or Relay Server.

    Database server example:

    1. On Windows, double-click the network server icon in the system tray for the demo12 database server.

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

    3. Click Yes.

    MobiLink server 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: Logging in to the Monitor as the default administrator.

  3. Click Dashboards » Overview.

    In the Resource List, a red circle with a white X through it appears next to the demo12 resource, the MobiLinkServerSample resource or the Relay Server Farm resource. This icon indicates that the resource is unavailable.

    The Resource List with the demo12 resource unavailable.

    In the Alert List widget, an Availability Alert, a Server Down alert or a Sustained Relay Server Outage alert appears and its status is Active.

    Alert List with an Active alert.

    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 Alert List widget, click the Availability Alert for a database, Server Down for a MobiLink server or Sustained Relay Server Outage for a Relay Server, and then click Details to read the description.

  5. Click OK to close the alert.

  6. Restart the sample database, the Synchronization Server Sample, or the Relay Server Farm.

     Restart the sample database
    • From Start menu, click Programs » SQL Anywhere 12 » SQL Anywhere » Network Server Sample.

     Navigate to the Synchronization Server Sample
    • Click Start » Programs » SQL Anywhere 12 » MobiLink » Synchronization Server Sample.

    In the Monitor, in the Resource List, the Status for the resource changes to a yellow triangle. This icon indicates that the resource is being monitored and it has an alert. In the Alert List, the Status of the Availability Alert, Server Down alert, or Sustained Relay Server Outage 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.

    Alert 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, there are no icons beside the demo12resource, the MobiLinkServerSample resource or the Relay Server Farm resource, indicating that the resource is being monitored and has no alerts. In the Alert List, the Status of the Availability Alert, Server Down alert or Sustained Relay Server Outage alert changes to Resolved by admin, where admin is your Monitor user name.

    Alert List with a Resolved alert.
  8. Delete the alert.

    1. Click the alert and click Delete.

    2. Click Delete Selected Alerts, and then click OK.

    3. When prompted, click Yes to confirm the deletion.

  9. Proceed to Lesson 4: Setting up the Monitor to send emails when alerts occur.