I have Azure Virtual Machine running once the upgrade was done the OMS agent state is showing as failed and its stuck with that status since a while now which is now causing issues with logs. Can someone suggest a solution for it?
VM Oms Agent running.
CodePudding user response:
Essentially, if the agent is not in a ready state, it is usually due to some corruption of the agent which can be resolved by simply manually reinstalling the agent. You can find the steps to do that here:
- Delete/Uninstall the OMS Agent from Extensions.
- Navigate to "Logs" Tab and Click on "Enable" - (After clicking this, make sure you select the correct workspace).
- New OMS agent will be provisioned and you will be able to fetch logs.