A script enabled browser is required for this page to function properly.
Skip to main content
StorageTek Tape Analytics Administration Reference Guide, Version 1.0.2
E28379-03
Table of Contents Previous Next Index


Database Services Administration : STA Resource Monitor Service

STA Resource Monitor Service

The following topics are discussed here:

Overview

The STA Resource Monitor service monitors and reports on the following STA server resources:

You may set usage “high-water marks” (HWM) for each of these resources. A high-water mark is a threshold at which an alert will be raised. When the threshold is reached or exceeded, an alert is recorded in the standard daily resource report and optionally emailed to one or more designated recipients.

For example, if you set the database tablespace HWM to 60%, when the STA Resource Monitor detects that the STA application has used 60% or more of the maximum allowable database tablespace, it turns on the tablespace alert and sends an email to the designated recipients. Additionally, if “nag mode” is turned on, the Resource Monitor continues to send an alert email each time it scans the system.

Configuring the Resource Monitor Service

You configure the STA Resource Monitor service with the STA Resource Monitor Administration Utility, staresmonadm. See the StorageTek Tape Analytics Configuration Guide for information about using this utility to configure the STA Resource Monitor service, and for a list of preference settings you can use with the utility.

Query the Current Resource Monitor Preference Settings

Enter the following command to query the state of the current preference settings:

staresmonadm -Q

If the Configured field says “no,” then the Resource Monitor Service is running in an “idle” mode neither monitoring resources nor sending reports. You will need to supply the settings.

See the StorageTek Tape Analytics Configuration Guide for instructions on entering settings.

# staresmonadm -Q
Contacting daemon...connected.
Querying Preferences.
Current STA Resource Monitor Service Settings:
	Configured             [yes]
   Send Reports        -T [08:15]
   Sleep Interval      -i [3600 sec]
   Alert Nagging       -n [on]
   DB Username         -U [stadba]
   DB Password         -P [********]
   DB Tablespace hwm   -t [66%]
   DB Disk Volume hwm  -d [75%]
   STA Log Volume hwm  -l [75%]
   System Memory hwm   -m [80%]
   Email 'From:'       -f [StaResMon@localhost.com]
   Email 'To:'         -r [joe.adminguy@mycompany.com]
   Email 'Subject:'    -s [STA Resource Report <staapp01>]
   Output File         -o [/var/log/tbi/db/staresmon.csv]
===================================================

Clear the Resource Monitor Preference Settings

Enter the following command to clear the current preference settings:

staresmonadm -C

Notice that the Resource Monitor service is no longer configured and will return to the “idle” state. You must now provide new settings.

See the StorageTek Tape Analytics Configuration Guide for instructions on entering settings.

# staresmonadm -C
Contacting daemon...connected.
Clearing Preferences.
Done.
 Current STA Resource Monitor Service Preferences:
   Configured             [no]
   Send Reports        -T [00:00]
   Sleep Interval      -i [300 sec]
   Alert Nagging       -n [off]
   DB Username         -U []
   DB Password         -P []
   DB Tablespace hwm   -t [-1%]
   DB Disk Volume hwm  -d [-1%]
   STA Log Volume hwm  -l [-1%]
   System Memory hwm   -m [-1%]
   Email 'From:'       -f [StaResMon@localhost]
   Email 'To:'         -r []
   Email 'Subject:'    -s [STA Resource Monitor Report]
   Output File         -o [/var/log/tbi/db/staresmon.csv]
 ===================================================

Reset the STA Resource Monitor Password

See “Password Administration”.


Table of Contents Previous Next Index Link to documentation
Copyright © 2012 Oracle and/or its affiliates. All rights reserved.