eG Monitoring
 

Measures reported by OraUserAuditTest

Often, administrators may want to periodically audit user logins to the Oracle database server to capture login failures and troubleshoot them. To enable such audits, eG Enterprise offers the OraUserAuditTest test!

This test periodically reports the count of logged in, logged out and failed user sessions.

Outputs of the test : One set of results for the target Oracle database server being monitored.

Pre-Requisites for the test to report metrics

For the eG Enterprise to report metrics for this test, administrators should follow the below-mentioned steps:

  • Execute the following commands from the SQL prompt of the target Oracle Database server:

    audit create session whenever not successful;
    audit create session whenever successful;
  • Ensure that DB is set as the value against the Audit_trail parameter. This ensures that the data captured is logged into the DBA_AUDIT_SESSION or DBA_AUDIT_TRAIL tables of the target Oracle database server. The eG agent retrieves the data from these tables and reports the metrics for this test.

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
Login_sessions Indicates the number of logged in user sessions during the last measurement period. Number This measure is a good indicator of load on the target database server.
Logoff_sessions Indicates the number of user sessions that were logged out during the last measurement period. Number A high value for this measure is a cause of concern.
Login_failed_sessions Indicates the number of user sessions that failed to login during the last measurement period. Number A sudden/gradual increase in the value of this measure is a cause of concern. Administrators should investigate the login failures before end users start complaining about the failures too frequently.