Azure Linux VM “Update agent readiness” suddenly Not Ready.

A little Linux VM I had deployed several months back suddenly quit taking automatic updates. The VM was connected to the proper workspace and was showing as “connected” to that workspace; however, Update management was showing no information in regards to the status of missing updates and the agent readiness was showing as “Not ready”.

As it turns out, the agent was installed and pointed to the correct workspace, but a glitch of some kind apparently busted the Hybrid Worker tied to the Automation Account. I still have no idea how this happened, but the fix was easy enough… re-install the OMS agent.

wget https://raw.githubusercontent.com/Microsoft/OMS-Agent-for-Linux/master/installer/scripts/onboard_agent.sh && sh onboard_agent.sh -w <YOUR WORKSPACE ID> -s <YOUR WORKSPACE PRIMARY KEY>

After a few minutes, the agent readiness status changed to “Ready”.

Leave a comment

Close Bitnami banner
Bitnami