-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added plugin support, added ssh plugin
- Loading branch information
Showing
21 changed files
with
1,508 additions
and
724 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# id:номер столбца в график(отсчет начинается с 0):название графика:graph type | ||
# supported graph types: | ||
# line: Creates a Line style chart. | ||
# scatter: Creates a Scatter style chart. | ||
1:2:dsk device:line | ||
1:3:dsk device: | ||
2:4:dsk device:line | ||
2:7:dsk device: | ||
3:6:зависимость io-latency от iops:scatter | ||
3:5:: | ||
4:7:зависимость длины io-очереди от iops:scatter | ||
4:5:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# id столбца:название:формула | ||
# _ROWID_ - служебное слово для вставки номера текущей строки | ||
|
||
6:IOPS:=(B_ROWID_+C_ROWID_)/600 | ||
7:avio*10ms:=E_ROWID_*10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,57 @@ | ||
# Oracle tnsalias from tnsnames.ora | ||
#TNS_ALIAS="testdb" | ||
HOST="example.com" | ||
PORT=1521 | ||
#SID="testdb" | ||
SERVICE_NAME="testdb.example.com" | ||
# target host | ||
HOST="oracle-db.example.com" | ||
|
||
# Database credentials | ||
USERNAME="username" | ||
PASSWORD="password" | ||
# report store path | ||
#PATH="" | ||
# Report (and graphs) title | ||
TITLE="oracle-db" | ||
|
||
# Database id | ||
#DBID=3235167506 | ||
|
||
# Minimal awr-snapshot id including in report | ||
#BEGIN_SNAP=90721 | ||
|
||
# Maximun awr-snapshot id including in report | ||
#END_SNAP=91072 | ||
|
||
# Path to xls file | ||
#PREFIX="" | ||
# Database name | ||
DB_NAME="testdb" | ||
|
||
# Report Author | ||
# Report author | ||
AUTHOR="Denis Vodopyanov" | ||
# Report Company | ||
# Report company | ||
COMPANY="example.com" | ||
|
||
# Logging level: DEBUG|INFO|WARNING|ERROR|CRITICAL | ||
LOGGING="WARNING" | ||
# Logging level DEBUG|INFO|WARNING|ERROR|CRITICAL | ||
LOGGING="INFO" | ||
#LOGGING="DEBUG" | ||
|
||
# Report configuration file | ||
# Report config file | ||
REPORT_CONF="conf.d/report.conf" | ||
|
||
# ============================================================== | ||
# ORADDB plugin parameters | ||
# ============================================================== | ||
# if TNS_ALIAS exist - it in use, otherwise using HOST, ORADB_PORT, ORADB_SID/ORADB_SERVICE_NAME | ||
# oracle database tns alias | ||
#ORADB_TNS_ALIAS="oracle-db" | ||
# oracle database port, default value 1521 | ||
#ORADB_PORT=1521 | ||
|
||
# if ORADB_SID exist - it in use, otherwise using ORADB_SERVICE_NAME | ||
# oracle database sid | ||
ORADB_SID="example" | ||
# oracle database service name | ||
#ORADB_SERVICE_NAME="example.example.com" | ||
|
||
# oracle database login | ||
ORADB_USERNAME="username" | ||
# oracle database password | ||
ORADB_PASSWORD="password" | ||
|
||
# oracle database id | ||
#ORADB_DBID=3453375711 | ||
|
||
# oracle database first awr stapshot | ||
#ORADB_BEGIN_SNAP=40936 | ||
|
||
# oracle database last awr snapshot | ||
#ORADB_END_SNAP=41283 | ||
|
||
# ============================================================== | ||
# SSH plugin parameters | ||
# ============================================================== | ||
# ssh port default value 22 | ||
#SSH_PORT=22 | ||
SSH_USERNAME="username" | ||
#SSH_PASSWORD="a1w8eGs" | ||
SSH_KEY="/home/username/.ssh/id_rsa" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
# id:column number in char:column title | ||
1:11:major User I/O event explanation | ||
1:12:major User I/O event explanation | ||
2:13:random-read latency | ||
2:14:random-read latency | ||
# id:номер столбца в график(отсчет начинается с 0):название графика:graph type | ||
# supported graph types: | ||
# line: Creates a Line style chart. | ||
# scatter: Creates a Scatter style chart. | ||
1:11:major User I/O event explanation:line | ||
1:12:major User I/O event explanation: | ||
2:13:random-read latency, ms:line | ||
#2:14:random-read latency |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# column number:column title:formula | ||
# _ROWID_ - service variable | ||
11:db_file_sequential_read:=UserIOWaitsTime!W_ROWID_/10000 | ||
# id столбца:название:формула | ||
# _ROWID_ - служебное слово для вставки номера текущей строки | ||
|
||
11:db_file_sequential_read:=UserIOWaitsStructure!W_ROWID_/10000 | ||
12:userio:=WaitTimeStructure!D_ROWID_/10000 | ||
13:rr-latency:=C_ROWID_/E_ROWID_ | ||
13:rr-latency:=10*C_ROWID_/E_ROWID_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
# id:column number in char:column title | ||
1:25:Redo writes per hour | ||
1:27: | ||
2:34:Redo write latency, ms | ||
3:27:Redo write structure | ||
3:33: | ||
# id:номер столбца в график(отсчет начинается с 0):название графика:graph type | ||
# supported graph types: | ||
# line: Creates a Line style chart. | ||
# scatter: Creates a Scatter style chart. | ||
1:25:Редо-врайтов/час, временные затраты на редо-записи.:line | ||
1:27:: | ||
2:34:Латенси по редо записи, мсек;:line | ||
3:27:Стр-ра редо-врайтов:line | ||
3:33:: |
Oops, something went wrong.