In this lesson, you intentionally trigger an alert so that you can practice handling alerts.
This lesson assumes that you have completed all preceding lessons. See Lesson 1: Logging in to the Monitor.
This lesson assumes that you have the roles and privileges listed in the Privileges section at the start of this tutorial: Tutorial: Monitoring resources with the Monitor.
Trigger an alert by shutting down the database server.
For example, shut down the database server on Windows by double-clicking the network server icon in the system tray, and then clicking Shut Down in the database server messages window.
In the Monitor, click Dashboards » Overview.
In the Resource List, a red circle with a white X through it appears next to the resource and to indicate that the resource is unavailable.
In the Alert List widget, an Availability Alert for a database, a Server Down alert for a MobiLink server, or a Sustained Relay Server Outage alert for a Relay Server farm appears with the status 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.
In the Alert List widget, select the alert and then click Details to read the description.
Click OK to close the alert.
Restart the resource. For example, restart the sample database by clicking Start » Programs » SQL Anywhere 16 » SQL Anywhere » Network Server Sample.
In the Resource List widget, 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 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.
Resolve the alert by selecting the alert and clicking Mark Resolved.
Now in the Resource List, there are no icons beside the resource, indicating that the resource is being monitored and has no alerts. In the Alert List widget, the Status of the alert changes to Resolved by admin, where admin is your Monitor user name.
Delete the alert.
Click the alert and click Delete.
Click Delete Selected Alerts, and then click OK.
When prompted, click Yes to confirm the deletion.
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|