You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI : How to Disable the OS Management Service Agent Plugin in Oracle Linux instances

APPLIES TO:

Oracle Cloud Infrastructure - Version N/A and later

Linux x86-64


GOAL

How to disable the OS Management service Agent plugin in Oracle Linux instances?


SOLUTION

1. Login to the instance.

2. Run the following "sed" utility script to disable the OS Management Service Agent plugin.

$ sudo sed -i.saved -e '/^  osms:/,/^  [a-z]*:/{s/\(.*disabled:.*\)false/\1true/}' /etc/oracle-cloud-agent/agent.yml
  • This will update the osms:configuration in the /etc/oracle-cloud-agent/agent.ymlfile as follows: 

Change the value for the disabled:parameter from false to true


3. Restart the Oracle Cloud Agent service:

  • For Oracle Linux 7 and Oracle Linux 8:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!