Verifying Agent Installation

Verify Unified Monitoring Agent installation for all supported OS.

Note

The agent, or Unified Monitoring Agent, is also known as the Oracle Cloud Agent plugin that is called "Custom Logs Monitoring".

Windows

  1. Connect to the instance.
  2. Open Services.msc (Start menu and type services.msc). Scroll until you see the "Oracle Unified Monitoring Agent" and that the agent is in a "Running" state.
  3. In the Task Scheduler under Task Scheduler Library, verify that the UnifiedAgentConfigUpdater exists, and has (or will) run successfully. After the initial install, it can take up to 20 minutes for the first run. If preferred, this can be run manually.
  4. After the UnifiedAgentConfigUpdater task has run, verify that a unified-monitoring-agent.conf file in exists in C:\oracle_unified_agent.

    After a few minutes, supervisor (unified-monitoring-agent-supervisor-0.log) logs and worker (unified-monitoring-agent-0.log) logs appear in the C:\oracle_unified_agent directory.

    The preceding logs contain the Fluentd parser and plugin output.

Linux

These instructions apply to Oracle Linux 7, Oracle Linux 8, CentOS 7, CentOS 8, CentOS Stream 8, Ubuntu 16, Ubuntu 18, and Ubuntu 20.
  1. Connect to the instance.
  2. Check that the agent is running by running the following command:
    systemctl status unified-monitoring-agent

    The status looks like the following:

    Loaded: loaded (/usr/lib/systemd/system/unified-monitoring-agent.service; enabled; vendor preset: disabled)
    Active: active (running) since Thu 2020-09-10 18:11:45 GMT; 2h 14min ago
    Docs: https://docs.cloud.oracle.com/