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
|