Lesson 7: Stopping monitoring of resources

In this lesson, you remove the resource you were monitoring, which deletes the collected metrics and stops data collection.
In a production environment when you want to continue monitoring your resource, you leave the database, MobiLink server or
Relay Server farm and the Monitor running.

Note

When you remove a database resource, the Monitor does not delete the monitoring objects installed in the database. To delete these objects, you must connect to the database as a user
with MANAGE ANY USER system privilege, and execute the following statement:

Select either the demo16, the MobiLinkServerSample, or the Relay Server farm resource and click Stop.

Click Remove.

Click Yes to confirm that you want to remove the resource.

Click Close.

Click Logout to log out of the Monitor and close the browser window where you are viewing the Monitor.

Shut down the Monitor and stop monitoring.

On Windows, in the system tray, right-click the Monitor icon and click Exit SQL Anywhere Monitor.

On Linux, run the samonitor.sh script from the bin32 or bin64 directory in the Monitor installation directory:

./samonitor.sh stop

The Monitor stops collecting metrics for all resources.

Shut down the resource that was being monitored. For example, to shut down the database double-click the network server icon
in the system tray for the database server, click Shut Down in the database server messages window, and then click Yes to confirm the action.

Results

The SQL Anywhere Monitor is shut down and stops monitoring the resource, which is also shut down.