eG Monitoring
 

Measures reported by OraInstStatusTest

This test monitors each instance of an Oracle server, and reports whether that instance is available or not. If a user complaints of an Oracle server being inaccessible, you can use this test to determine whether the server itself is down or only the target instance is down.

Note:

For this test to report metrics for an Oracle database server that is executing on Unix and AIX platforms, the eG installed user that is executing the sqlplus command to collect the required metrics should be within the Oracle group. To add the eG installed user say for e.g., tim, you should use the commands according to the platforms on which the target server is operating.

  • For an Oracle database server that is executing on Unix platforms, use the following command:

    usermod -a -G <Oracle_Group> <eG_User>

    Example:

    usermod -a -G Oracle_Group tim

  • For an Oracle database server that is executing on AIX platforms, use the following command:

    usermod -G <Oracle_Group> <eG_User>

    Example:

    usermod -G Oracle_Group tim

To make sure that this test reports metrics for an Oracle database server configured with multiple instances, you need to insert the following entry in the listener.ora file of each instance.

SID_LIST_LISTENER=
  (SID_LIST=
    (SID_DESC=
      (GLOBAL_DBNAME=orcl.us.acme.com)
      (ORACLE_HOME=/oracle10g)
      (SID_NAME=orcl))

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
Availability Indicates whether the oracle instance is available or not in the oracle server. Number This measure will report a value 100, if the oracle instance is available and will report a value 0, if the oracle instance is not available.
Instuptime Indicates how long the instance has been up and running.   This measure displays the number of years, months, days, hours, minutes and seconds since the last reboot. Administrators may wish to be alerted if the database instance has been running without a reboot for a very long period. Setting a threshold for this metric allows administrators to determine such conditions.
diff_upTIme Indicates the duration for which the instance has been up since the last measurement period. Secs If the value of this measure is lesser than the test frequency, it indicates that the instance was rebooted during the last measurement period.
rebooted Indicates whether this instance was rebooted or not.   This measure reports the value Yes if the instance was rebooted in the last measurement period, and the value No if it was not rebooted. The numeric values that correspond to these measure values have been listed in the table below:

Measure Value Numeric Value
Yes 1
No 0

Note:

This test reports the Measure Values listed in the table above to indicate whether/not the instance was rebooted. In the graph of this measure however, the same will be represented using the numeric equivalents.