Access Gateway monitor log

Access Gateway monitor logs include information on the following events:

Event Fields

Field

Description

TIMESTAMP

The current system date and time

HOSTNAME

The hostname of the node generating the event

APPLICATION

OAG_MONITOR

SUB-PROCESS

MONITOR

COMPONENT

The component is one of the following:

  • CERT_CHECK
  • DISK_USAGE
  • KRB5
  • NGINX
  • SERVICE
  • SESSION_CACHE
  • STORE

LOG_LEVEL

The log level is one of the following:

  • TRACE
  • DEBUG
  • INFO
  • WARN
  • ERROR
  • FATAL

EVENT

The event is one of the following:

  • CONFIG_TEST
  • DISK_USAGE
  • MONITOR
  • SESSION_CACHE_USAGE
  • SSL_CERT_VALIDITY_CHECK
  • START
  • STOP
  • VALIDATE

STRUCTURED_DATA

Event data is important for analysis and troubleshooting.

MESSAGE

The message that appears in the log

CONFIG_TEST

This event is issued after testing the NGINX configuration.

Message NGINX configuration is valid.
Example 2020-04-02T08:02:01.348-05:00 example.myaccessgateway.com OAG_MONITOR MONITOR NGINX INFO CONFIG_TEST [STATUS="VALID"] NGINX configuration is valid.
Structured data
  • STATUS: VALID or INVALID
  • REASON: The reason if the status is INVALID

DISK_USAGE

This event is issued after examining current disk use. It’s checked once each hour for each mount.

Message Mount [device] is [x]% full.
Example 2020-06-25T07:00:02.119-05:00 example.myaccessgateway.com OAG_MONITOR MONITOR DISK_USAGE INFO DISK_USAGE [FILESYSTEM="/dev/mapper/centos-root" MOUNT="/" USAGE="12%"] Mount / is 12% full
Structured data
  • FILESYSTEM: Filesystem of the mount point
  • MOUNT: The mount point
  • USAGE: The mount point use

MONITOR KRB5

This event is issued after examining the Kerberos configuration. It’s checked once each hour.

Message
  • Kerberos not configured.
  • Kerberos is configured.
Example 2020-04-02T08:00:02.043-05:00 example.myaccessgateway.com OAG_MONITOR MONITOR KRB5 INFO MONITOR [STATUS="VALID"] Kerberos not configured
Structured data STATUS: The file system of the mount point

SESSION_CACHE_USAGE

This event is issued after examining session cache use. It’s checked once each hour.

Message Current session cache utilization is 0%.
Example 2020-06-25T07:00:02.130-05:00 example.myaccessgateway.com OAG_MONITOR MONITOR SESSION_CACHE INFO SESSION_CACHE_USAGE [CACHE_SIZE="67108864" CURRENT_USAGE="17095" USAGE_PERCENT="0%"] Current session cache utilization is 0%.
Structured data
  • CACHE_SIZE: The total session cache size, in bytes
  • CURRENT_USAGE: The amount of the session cache in use, in bytes
  • USAGE_PERCENT: The percentage of the cache currently in use

SSL_CERT_VALIDITY_CHECK

This event is issued after examining certificates. It’s checked once each day.

Message SSL Certificate is valid for more than 30 days.
Example 2020-06-05T00:00:01.819-05:00 example.mysaccessgateway.com OAG_MONITOR MONITOR CERT_CHECK INFO SSL_CERT_VALIDITY_CHECK [USER="root" EXPIRY="20220603"] SSL Certificate is valid for more than 30 days.
Structured data
  • USER: The certificate owner
  • EXPIRY: The date when the certificate expires

START

This event is issued when an Access Gateway node is started. It’s sorted by service.

Message

Starting service.

(Services include okta-nginx, ebs-ssoagent, oag-admin, php-fpm, and others.)

Example 2020-03-27T21:19:24.158-05:00 example.myaccessgateway.com OAG_MONITOR MONITOR SERVICE INFO START [SERVICE="oag-admin"] Starting oag-admin.
Structured data SERVICE: The name of the service being started

STOP

This event is issued when an Access Gateway node is stopped. It’s sorted by service.

Message

Stopping service.

(Services include okta-nginx, ebs-ssoagent, oag-admin, php-fpm, and others.)

Example 2020-03-27T21:20:11.797-05:00 example.myaccessgateway.com OAG_MONITOR MONITOR SERVICE INFO STOP [SERVICE="oag-admin"] Stopping oag-admin.
Structured data SERVICE: The name of the service being stopped

VALIDATE

This event is issued once each hour for each Data Store or authentication context.

Message None
Example 2020-06-23T02:10:01.762-05:00 example.myaccessgateway.com OAG_MONITOR MONITOR STORE INFO VALIDATE [NAME="LDAP Datastore" STATUS="passed"].
Structured data
  • NAME: The name of the service being validated
  • STATUS: Passed or failed

Logs generated

By default, there are two Data Stores in Access Gateway that generate four logs every hour:

  • oag.support.lab OAG_MONITOR MONITOR STORE INFO VALIDATE [NAME="App Context" STATUS="passed"]
  • oag.support.lab OAG_MONITOR MONITOR STORE INFO VALIDATE [NAME="Auth Context" STATUS="passed"]
  • oag.support.lab OAG_MONITOR MONITOR STORE INFO VALIDATE [NAME="auth" STATUS="passed"]
  • oag.support.lab OAG_MONITOR MONITOR STORE INFO VALIDATE [NAME="spgw" STATUS="passed"]

Next steps