Setup solution for monitoring non-compliant DSC nodes

Kamil Pniak 21 Reputation points
2022-12-16T13:22:26.393+00:00

Hello,

I need to setup solution for monitoring non-compliant [failed and unresponsive also] DSC nodes.
Anyone tried to create something similar?

My Diagnostic setting for Automation Account is sending Logs with DscNodeStatus to Log Analytics Workspace.

I was thinking about simple query [KQL] from which I could after create an alert rule but still no luck with that.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,625 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,358 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Kamil Pniak 21 Reputation points
    2022-12-16T14:41:33.133+00:00

    Ok got it :)

    AzureDiagnostics
    | where Category == "DscNodeStatus"
    | where NodeName_s == "NODENAME"
    | where OperationName == "DscNodeStatusData"
    | where ResultType == "Failed"

    0 comments No comments

  2. tbgangav-MSFT 10,426 Reputation points Moderator
    2022-12-18T16:27:26.02+00:00

    Hi @Kamil Pniak ,

    Glad to know! This would be beneficial to other community members reading this thread. Thanks for sharing the learnings or answer here.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.