Oracle KB
This page was last modified 09:10, 17 July 2006.From Documentation
(Difference between revisions)
Revision as of 08:31, 17 July 2006 Moff (Talk | contribs) (→Monitor_locks Sentry) ← Previous diff |
Current revision Moff (Talk | contribs) (→File_IO Sentry) |
||
Line 678: | Line 678: | ||
'''Constants''' | '''Constants''' | ||
- | + | {| border="1" cellpadding="6" cellspacing="0" | |
+ | !width="150" bgcolor="#cccccc" | Constant | ||
+ | !width="500" bgcolor="#cccccc" | Description | ||
+ | !width="65" bgcolor="#cccccc" | Value | ||
+ | |- | ||
+ | |HIGH_IO ||Indicating high I/O for data file ||70 | ||
+ | |} | ||
'''States''' | '''States''' | ||
Line 698: | Line 704: | ||
<br> | <br> | ||
+ | |||
==== Monitor_locks Sentry ==== | ==== Monitor_locks Sentry ==== | ||
Line 731: | Line 738: | ||
|- | |- | ||
|OK ||normal || || | |OK ||normal || || | ||
+ | |} | ||
+ | |||
+ | <br> | ||
+ | ==== Datafile Sentry ==== | ||
+ | |||
+ | ;Availability: AIX, HPUX, Linux, Solaris | ||
+ | |||
+ | '''Constants''' | ||
+ | |||
+ | {| border="1" cellpadding="6" cellspacing="0" | ||
+ | !width="150" bgcolor="#cccccc" | Constant | ||
+ | !width="500" bgcolor="#cccccc" | Description | ||
+ | !width="65" bgcolor="#cccccc" | Value | ||
+ | |- | ||
+ | |LOW ||Indicating a low percentage of free space ||10 | ||
+ | |} | ||
+ | |||
+ | '''States''' | ||
+ | |||
+ | {| border="1" cellpadding="6" cellspacing="0" | ||
+ | !width="125" bgcolor="#cccccc" | State | ||
+ | !width="65" bgcolor="#cccccc" | Severity | ||
+ | !width="390" bgcolor="#cccccc" | Condition | ||
+ | !width="120" bgcolor="#cccccc" | Escalation | ||
+ | |- | ||
+ | |Down ||disabled ||$query_status != "" || | ||
+ | |- | ||
+ | |Can_Not_Grow ||critical ||$autoextensible == "YES" && $pct_free <= $LOW && $free_space <= $next_increment && [ catch { exec Oracle-utl-filesystem_check $datafile $next_increment } ] == 0 && $last_usable_sz != $usable_size || Acknowledged after acknowledgement | ||
+ | |- | ||
+ | |Auto_Growing ||info ||$autoextensible == "YES" && $pct_free <= $LOW && $free_space <= $next_increment && $last_usable_sz != $usable_size ||Acknowledged after acknowledgement | ||
+ | |- | ||
+ | |OK ||normal ||$autoextensible == "NO" || $pct_free > $LOW || $free_space > $next_increment || | ||
+ | |- | ||
+ | |Acknowledged ||normal ||$autoextensible == "YES" || | ||
+ | |- | ||
+ | |Delete ||built-in ||No data state || | ||
+ | |} | ||
+ | |||
+ | <br> | ||
+ | ==== Tablespace Sentry ==== | ||
+ | |||
+ | ;Availability: AIX, HPUX, Linux, Solaris | ||
+ | |||
+ | '''Constants''' | ||
+ | |||
+ | {| border="1" cellpadding="6" cellspacing="0" | ||
+ | !width="150" bgcolor="#cccccc" | Constant | ||
+ | !width="500" bgcolor="#cccccc" | Description | ||
+ | !width="65" bgcolor="#cccccc" | Value | ||
+ | |- | ||
+ | |LOW ||Indicating a low percentage of free space ||10 | ||
+ | |- | ||
+ | |VERY_LOW ||Indicating a very low percentage of free space ||5 | ||
+ | |- | ||
+ | |NEARLY_FULL ||Indicating tablespace is nearly full ||2 | ||
+ | |} | ||
+ | |||
+ | '''States''' | ||
+ | |||
+ | {| border="1" cellpadding="6" cellspacing="0" | ||
+ | !width="125" bgcolor="#cccccc" | State | ||
+ | !width="65" bgcolor="#cccccc" | Severity | ||
+ | !width="370" bgcolor="#cccccc" | Condition | ||
+ | !width="140" bgcolor="#cccccc" | Escalation | ||
+ | |- | ||
+ | |Down ||disabled ||$error_text != "" || | ||
+ | |- | ||
+ | |Nearly_Full ||severe ||$pct_free < $NEARLY_FULL && $last_free_space != $free_space ||Acknowledged after acknowledgement | ||
+ | |- | ||
+ | |Very_Low ||alarm ||$pct_free < $VERY_LOW && $last_free_space != $free_space ||Acknowledged after acknowledgement | ||
+ | |- | ||
+ | |Low ||warning ||$pct_free < $LOW && $last_free_space != $free_space ||Acknowledged after acknowledgement | ||
+ | |- | ||
+ | |OK ||normal ||$pct_free >= $LOW || | ||
+ | |- | ||
+ | |Acknowledged ||normal || || | ||
+ | |- | ||
+ | |Delete ||built-in ||No data state || | ||
|} | |} | ||
<br> | <br> |
Current revision
[edit]
Overview
The primary aim of the Oracle knowledge base in Sentinel3G is to provide notification of CPU and memory hungry processes using monitoring that is consistent across various UNIX, Linux and Windows platforms. Due to differences between the various operating systems we monitor, complete consistency is not always achievable. This document describes the general content of the Process knowledge base, and the discrepancies between them on different platforms.
[edit]
Oracle Knowledge Base Version
Version | Availability Date | Min Sentinel Version |
---|---|---|
2.4 | 28th Sep, 2005 | 4.4 |
2.3 | 30th Sep, 2004 | 4.3 |
[edit]
Oracle Knowledge Base
[edit]
Oracle Class
Sentry | AIX | HPUX | Linux | SCO | Solaris | Tru64 | Windows |
---|---|---|---|---|---|---|---|
Cache_Hit_Ratio | √ | √ | √ | √ | |||
Init_File | √ | √ | √ | √ | |||
Logons | √ | √ | √ | √ | |||
Run_Query | √ | √ | √ | √ | |||
Security_Info | √ | √ | √ | √ | |||
Sessions | √ | √ | √ | √ | |||
SGA | √ | √ | √ | √ | |||
SID_Info | √ | √ | √ | √ | |||
Spfile | √ | √ | √ | √ | |||
Top_10 | √ | √ | √ | √ | |||
Uptime | √ | √ | √ | √ |
[edit]
Oracle Alert Log Class
Sentry | AIX | HPUX | Linux | SCO | Solaris | Tru64 | Windows |
---|---|---|---|---|---|---|---|
AlertLog | √ | √ | √ | √ |
[edit]
Oracle Archive Logs Class
Sentry | AIX | HPUX | Linux | SCO | Solaris | Tru64 | Windows |
---|---|---|---|---|---|---|---|
Archive_Logs | √ | √ | √ | √ |
[edit]
Oracle Control Files Class
Sentry | AIX | HPUX | Linux | SCO | Solaris | Tru64 | Windows |
---|---|---|---|---|---|---|---|
Control_Files | √ | √ | √ | √ |
[edit]
Oracle Extents Class
Sentry | AIX | HPUX | Linux | SCO | Solaris | Tru64 | Windows |
---|---|---|---|---|---|---|---|
Extents | √ | √ | √ | √ |
[edit]
Oracle File I/O Class
Sentry | AIX | HPUX | Linux | SCO | Solaris | Tru64 | Windows |
---|---|---|---|---|---|---|---|
File_IO | √ | √ | √ | √ |
[edit]
Oracle Locks Class
Sentry | AIX | HPUX | Linux | SCO | Solaris | Tru64 | Windows |
---|---|---|---|---|---|---|---|
Monitor_locks | √ | √ | √ | √ |
[edit]
Oracle Processes Class
Sentry | AIX | HPUX | Linux | SCO | Solaris | Tru64 | Windows |
---|---|---|---|---|---|---|---|
Processes | √ | √ | √ | √ |
[edit]
Oracle Tablespaces Class
Sentry | AIX | HPUX | Linux | SCO | Solaris | Tru64 | Windows |
---|---|---|---|---|---|---|---|
Datafile | √ | √ | √ | √ | |||
Tablespace | √ | √ | √ | √ |
[edit]
Sentry Details
[edit]
Overview
Sentry | Class | Agent | Poll Time | States | Logging |
---|---|---|---|---|---|
Cache_Hit_Ratio | Oracle | Stats | 120s | √ | √ |
Init_File | Oracle | FileInfo | 20s | √ | |
Logons | Oracle | Stats | 120s | √ | √ |
Run_Query | Oracle | Null | n/a | ||
Security_Info | Oracle | Security | 7200s | √ | |
Sessions | Oracle | Session | 90s | √ | √ |
SGA | Oracle | sga | 7200s | √ | |
SID_info | Oracle | InfoAg | n/a | √ | |
Spfile | Oracle | FileInfo | 20s | √ | |
Top_10 | Oracle | Null | n/a | ||
Uptime | Oracle | Status | 120s | √ | |
Alert_Log | AlertLog | Alert_log | n/a | √ | |
Archive_Logs | Archive_Logs | ArLogs | 300s | √ | √ |
Control_Files | Control_Files | FileInfo | 20s | √ | |
Extents | Extents | Extnts | 300s | √ | |
File_IO | File_IO | File_io | 180s | √ | √ |
Monitor_locks | Locks | Lock | 120s | √ | |
Processes | Processes | Ora_Process | 75s | √ | √ |
Datafile | Tablespaces | TSpace | 300s | √ | |
Tablespace | Tablespaces | TSpace | 300s | √ | √ |
[edit]
Sentry State Details
[edit]
Cache_Hit_Ratio Sentry
- Availability
- AIX, HPUX, Linux, Solaris
Constants
Constant | Description | Value |
---|---|---|
AVG_CACHING | Indicating an OK buffer hit ratio | 80 |
GOOD_CACHING | Indicating a good buffer hit ratio | 90 |
States
State | Severity | Condition | Escalation |
---|---|---|---|
Down | disabled | $sql_error != " " | |
Poor_Caching | warning | $bufferhit_ratio < $AVG_CACHING | |
Low_Caching | info | $bufferhit_ratio < $GOOD_CACHING && $bufferhit_ratio >= $AVG_CACHING | |
OK | normal | $bufferhit_ratio >= $GOOD_CACHING |
[edit]
Init_File Sentry
- Availability
- AIX, HPUX, Linux, Solaris
States
State | Severity | Condition | Escalation |
---|---|---|---|
Not_Exist | alarm | !$exists | |
Modified | warning | $mtime != $prev_mtime | OK after acknowledgement |
OK | normal |
[edit]
Logons Sentry
- Availability
- AIX, HPUX, Linux, Solaris
States
State | Severity | Condition | Escalation |
---|---|---|---|
Down | disabled | $sql_error != "" |
[edit]
Security_Info Sentry
- Availability
- AIX, HPUX, Linux, Solaris
States
State | Severity | Condition | Escalation |
---|---|---|---|
Down | disabled | $sql_error != "" |
[edit]
Sessions Sentry
- Availability
- AIX, HPUX, Linux, Solaris
States
State | Severity | Condition | Escalation |
---|---|---|---|
Down | disabled | $error_test != "" | |
OK | normal |
[edit]
SGA Sentry
- Availability
- AIX, HPUX, Linux, Solaris
States
State | Severity | Condition | Escalation |
---|---|---|---|
Down | disabled | !$up | |
OK | normal |
[edit]
SID_info Sentry
- Availability
- AIX, HPUX, Linux, Solaris
States
State | Severity | Condition | Escalation |
---|---|---|---|
Down | disabled | !$up | |
OK | normal |
[edit]
Spfile Sentry
- Availability
- AIX, HPUX, Linux, Solaris
States
State | Severity | Condition | Escalation |
---|---|---|---|
Not_Exist | alarm | !$exists | |
Modified | warning | $mtime != $prev_mtime | OK after acknowledgement |
OK | normal |
[edit]
Uptime Sentry
- Availability
- AIX, HPUX, Linux, Solaris
Constants
Constant | Description | Value |
---|---|---|
SLOW_RESPONSE | Indicating a SQL query response problem (ms) | 5000 |
States
State | Severity | Condition | Escalation |
---|---|---|---|
Slow | alarm | $query_time >= $SLOW_RESPONSE | |
Down | disabled | !$up | |
Wrong_Login | info | [ string match "ORA-01017*" $error_text ] | |
OK | normal |
[edit]
AlertLog Sentry
- Availability
- AIX, HPUX, Linux, Solaris
States
State | Severity | Condition | Escalation |
---|---|---|---|
ERROR | info | Delete after acknowledgement |
[edit]
Archive_Logs Sentry
- Availability
- AIX, HPUX, Linux, Solaris
States
State | Severity | Condition | Escalation |
---|---|---|---|
Down | disabled | !$up | |
OK | normal | ||
Delete | built-in | No data state |
[edit]
Control_Files Sentry
- Availability
- AIX, HPUX, Linux, Solaris
States
State | Severity | Condition | Escalation |
---|---|---|---|
Not_Exist | alarm | !$exists | |
OK | normal |
[edit]
Extents Sentry
- Availability
- AIX, HPUX, Linux, Solaris
States
State | Severity | Condition | Escalation |
---|---|---|---|
Down | disabled | $error_text != "" | |
Near_Max | warning | $extents != $last_extents | Ack_Near_Max after acknowledgement |
Ack_Near_Max | normal | $extents == $last_extents | |
Delete | built-in | No data state |
[edit]
File_IO Sentry
- Availability
- AIX, HPUX, Linux, Solaris
Constants
Constant | Description | Value |
---|---|---|
HIGH_IO | Indicating high I/O for data file | 70 |
States
State | Severity | Condition | Escalation |
---|---|---|---|
Down | disabled | $query_status != "" | |
High_IO | info | $pct_phy_read > $HIGH_IO || $pct_phy_write > $HIGH_IO | |
OK | normal | ||
Delete | built-in | No data state |
[edit]
Monitor_locks Sentry
- Availability
- AIX, HPUX, Linux, Solaris
States
State | Severity | Condition | Escalation |
---|---|---|---|
Down | disabled | $error_text != "" | |
Delete | built-in | No data state |
[edit]
Processes Sentry
- Availability
- AIX, HPUX, Linux, Solaris
States
State | Severity | Condition | Escalation |
---|---|---|---|
Not_Running | disabled | $count == 0 | |
OK | normal |
[edit]
Datafile Sentry
- Availability
- AIX, HPUX, Linux, Solaris
Constants
Constant | Description | Value |
---|---|---|
LOW | Indicating a low percentage of free space | 10 |
States
State | Severity | Condition | Escalation |
---|---|---|---|
Down | disabled | $query_status != "" | |
Can_Not_Grow | critical | $autoextensible == "YES" && $pct_free <= $LOW && $free_space <= $next_increment && [ catch { exec Oracle-utl-filesystem_check $datafile $next_increment } ] == 0 && $last_usable_sz != $usable_size | Acknowledged after acknowledgement |
Auto_Growing | info | $autoextensible == "YES" && $pct_free <= $LOW && $free_space <= $next_increment && $last_usable_sz != $usable_size | Acknowledged after acknowledgement |
OK | normal | $autoextensible == "NO" || $pct_free > $LOW || $free_space > $next_increment | |
Acknowledged | normal | $autoextensible == "YES" | |
Delete | built-in | No data state |
[edit]
Tablespace Sentry
- Availability
- AIX, HPUX, Linux, Solaris
Constants
Constant | Description | Value |
---|---|---|
LOW | Indicating a low percentage of free space | 10 |
VERY_LOW | Indicating a very low percentage of free space | 5 |
NEARLY_FULL | Indicating tablespace is nearly full | 2 |
States
State | Severity | Condition | Escalation |
---|---|---|---|
Down | disabled | $error_text != "" | |
Nearly_Full | severe | $pct_free < $NEARLY_FULL && $last_free_space != $free_space | Acknowledged after acknowledgement |
Very_Low | alarm | $pct_free < $VERY_LOW && $last_free_space != $free_space | Acknowledged after acknowledgement |
Low | warning | $pct_free < $LOW && $last_free_space != $free_space | Acknowledged after acknowledgement |
OK | normal | $pct_free >= $LOW | |
Acknowledged | normal | ||
Delete | built-in | No data state |