Lesson 3: 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 demo11 database.

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

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

    3. Click Yes.

  2. In the Monitor, click the Monitoring tab.

    The State for the demo11 resource changes to Database Down and the Status for the demo11 resource changes to Needs Attention!.

    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.

  3. In the bottom pane, click Alerts.

  4. Select the Availability Alert and click Details to read the description.

  5. Click OK.

  6. Restart the sample database.

    Start the SQL Anywhere sample database. From the Start menu, choose Programs » SQL Anywhere 11 » SQL Anywhere » Network Server Sample.

    The State for the demo11 resource changes to Alive, but the Status remains unchanged. It can take a few minutes for the change to appear.

  7. Delete the alert by selecting the alert and clicking Delete.

    The Status changes to Healthy.