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
                
                                    
                                  in Linux             
            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.
            Tagged:
            
        
0