How to prevent agent updates during runtime of the agent?

The agent does automatic update checks as specified under:

etc/instana/com.instana.agent.main.config.UpdateManager.cfg

and looks, by default, like this:

# Instana Update Manager configuration.
# AUTO for automatic updates with given schedule. OFF for no automatic updates.
mode = AUTO
# DAY for daily, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
every = DAY
# Time is hh:mm in 24 hours format.
at = 04:30

This automatic check can be turned off by setting mode = OFF, or set to prefer a different time of day and/or only run on specific days.

Please note that this setting will prevent updates during runtime of the agent. The agent will always check for updates on startup.


However, there are two mechanisms available if you completely want to block any update activity from the agent:


A) If the machine does have internet access, you can tell the agent the version to which it should update
 as per:

https://www.instana.com/docs/setup_and_manage/host_agent/updates/#version-pinning


B) On machines without internet access, you can download "static" agents from the portal. They are self contained and will neither reach out, nor update.


 

Have more questions? Submit a request

Comments