Alerts if Azure VM drops out of Update management

Bombbe 1,611 Reputation points
2021-04-19T11:55:37.407+00:00

Hi,
I have tried to find alerts to following topics (related to Azure update management) but with bad luck. Servers that are part of Update management are reporting to Log Analytics workspace that are connected to same automation account where update management is.

  1. Update agent readiness goes to or is "Not configured"
  2. Hybrid worker last seen time is over 24h

Any tips or tricks what could be shared?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,783 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,080 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,111 questions
0 comments No comments
{count} votes

Accepted answer
  1. tbgangav-MSFT 10,381 Reputation points
    2021-04-22T15:57:49.283+00:00

    Hi @Bombbe ,

    AFAIK, to automatically get notified or alerted on update agent readiness state change, currently there is no straight forward kusto table (for log alert) or metric signal (for metric alert) which captures update agent readiness state i.e., Ready or Disconnected or Not Configured.

    I see this feedback item already being shared in Uservoice / feedback forum. If interested, you may upvote it. In general, Azure feature or product team would check feasibility of a feature request, prioritize against existing feature backlog, add them in roadmap as appropriate and would announce and/or update the related Azure document once a feature request is addressed.

    You might already are aware but just letting you know in case you are not. The description of these three update agent readiness states are:

    • Ready: The Hybrid Runbook Worker is deployed and was last seen less than one hour ago.
    • Disconnected: The Hybrid Runbook Worker is deployed and was last seen over one hour ago.
    • Not configured: The Hybrid Runbook Worker isn't found or hasn't finished the deployment.

    For more information w.r.t above mentioned states, offline and online troubleshooter, please refer this or this document.

    Also, just FYI, this document explains all the currently available kusto tables that are related to Update Management.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Deepak Rai 21 Reputation points
    2021-10-14T21:51:32.047+00:00

    Same question asked by me.

    https://learn.microsoft.com/en-us/answers/questions/568383/hybrid-runbook-worker-last-seen-time-monitoring.html

    If i get powershell script to do all this for me then it will be helpful.

    0 comments No comments