Hello,
after upgrade from 4.0 to 4.3 version were not upgraded Agents automatically ( auto-update was enabled before upgrade ). Is there possibility how to force Agent upgrade manually from Log Insight server?
Thank you for help
You need to add “[update ]auto_update=Yes” to your agent configuration (in liagent.ini on every machine or instance where the agent is installed).
Before the upgrade for the auto-update to work fully from server side in addition to the enable auto-update button to be checked.
Hi,
yes I know about this option in config file of Agent but in the situation when this option weren't set for Agents. Is there some workaround how to run upgrade for these Agents? Command from terminal or something like that? Or is needed to wait for another release or upgrade it manually?
If is set autoupdate to yes in config file of Agent then is only needed to restart agent and update is proceed immediately. Thank you for help
Glad it worked for you.
I did a PowerShell script to push the autoupdate to my servers.
The key lines in the script are:
Add-Content 'C:\programdata\VMware\Log Insight Agent\liagent.ini' "`n auto_update=yes"
Restart-Service LogInsightAgentService
Restart-Service LogInsightAgentUpdaterService