How To Change OSMH checkUpdatesInterval value — Cloud Customer Connect
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
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

How To Change OSMH checkUpdatesInterval value

Applies To:

Oracle Cloud Infrastructure
OS Management Hub (OSMH)

Goal:

How to : How To Change OS Management Hub checkUpdatesInterval value.

Solution:

The default checkUpdatesInterval is 300 seconds but it's configurable for any value >= 10 second.

To change the value then the osmh-agent configuration file should be modified in location /var/lib/oracle-cloud-agent/plugins/oci-osmh/osmh-agent/stateDir/config.yml and look for checkUpdatesInterval to change to your desired value.

Here is an example.

$ cat /var/lib/oracle-cloud-agent/plugins/oci-osmh/osmh-agent/stateDir/config.yml
agent:
debug: false
checkInterval: 120
cliTimeout: 7200
miTimeout: 300
isALXImage: false
checkUpdatesInterval: 300
updateCooldown: 300
$

If checkUpdatesInterval is set to 300 seconds, the system will automatically check for updates every 5 minutes.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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