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


Configuring STA Services : Resource Monitor Configuration Tasks

Resource Monitor Configuration Tasks

Review the staresmonadm Utility Preferences

You configure the STA Resource Monitor service with the STA Resource Monitor Administration Utility, staresmonadm. Review TABLE 4‑3 for descriptions of the available preference settings to use in the next procedure, “Determine STA Resource Monitor Preferences”.

Note – To display a complete list of command options, type “staresmonadm ‑h” at the Linux command line.

TABLE 4‑3 staresmonadm Attributes 

Attribute

Option

Description

Default Value

Database tablespace HWM

-t 

High-water mark for the database tablespace. Entered as a percentage of the maximum available; for example, 80 indicates 80%.

‑1 (indicates the attribute has not been configured)

Database disk volume HWM

-d

High-water mark for the disk volume on which the database data files reside, usually /dbdata/mysql. Entered as a percentage of the maximum available; for example, 80 indicates 80%.

‑1 (indicates the attribute has not been configured)

Logging disk volume HWM

-l

High-water mark for the disk volume on which the STA logs are located, usually
/var/log/tbi. Entered as a percentage of the maximum available; for example, 80 indicates 80%.

‑1 (indicates the attribute has not been configured)

Physical memory (RAM) HWM

-m

High-water mark for the total installed physical system memory. Virtual memory is not taken into account. Entered as a percentage of the maximum available; for example, 80 indicates 80%.

‑1 (indicates the attribute has not been configured)

Email from

-f

Name or email address you want to appear in the “From” field of the standard daily report email.

StaResMon@localhost 

Email recipients

-r

Recipient email addresses, entered as a colon-delimited list.

N/A

Email subject

-s

Entry you want to appear in the “Subject” field of the standard daily report email. Enter up to 128 characters.

A timestamp in yyyy‑mm‑dd hh:mm:ss form will be appended to your entry when the email is sent.

STA Resource Monitor Report

Database username

-U

Database username authorized to perform queries against the “information_schema” database tables and the MySQL server internal system global variables.

You should specify either the stadba (STA Database Administrator) username or the MySQL root username that was created when the STA application was installed. For details, see the “Installing STA” chapter within the StorageTek Tape Analytics Planning and Installation Guide.

N/A

Database password

-P

Password of the database user.

This must be the password assigned to the database username when the STA application was installed. For details, see the “Installing STA” chapter within the StorageTek Tape Analytics Planning and Installation Guide.

N/A

Daily report send time

-T

Time of day when you want the standard daily report to be sent. The report is sent automatically every 24 hours at approximately this time. The actual time is sometime within “sleep interval” seconds after this time.

Format is hh:mm, using 24-hour time (for example, 13:15 is 1:15 pm).

00:00

Sleep interval

-i

Number of seconds the STA Resource Monitor waits between scans.

600

Output data file

-o

Full path of the output data file, which is a comma-separated file (.csv).

/var/log/tbi/db/staresmon.csv 

“Nag” mode

-n

Indicates how frequently alerts are sent if any high-water marks have been breached.

off

Query

‑Q

Display the current STA Resource Monitor service settings.

N/A


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