Skip to content

Latest commit

 

History

History
70 lines (54 loc) · 1.71 KB

File metadata and controls

70 lines (54 loc) · 1.71 KB

DSC Resource 'MmaAgent'

MmaAgent configures the Microsoft Monitoring Agent (MMA/OMS agent) and its workspace connections.

When to use 'MmaAgent'

Use this resource when you need to configure the Microsoft Monitoring Agent on target nodes to connect to Log Analytics workspaces. The MMA agent collects monitoring data, logs, and performance counters from Windows machines and forwards them to Azure Monitor / Log Analytics for analysis and alerting.

Source

DSC Resource

Documentation

Table 1. Attributes of category 'MmaAgent'
Parameter Attribute DataType Description Allowed Values

WorkspaceId

Mandatory

String

Specifies the Workspace ID of the Log Analytics workspace to connect to.

WorkspaceKey

Mandatory

PSCredential

Specifies the primary key of the Log Analytics workspace as a credential.

ProxyUri

String

Specifies the URI of a proxy server to use for the MMA agent connection.

ProxyCredential

PSCredential

Specifies the credentials to authenticate with the proxy server.

Example
MmaAgent:
  WorkspaceId: ABC
  WorkspaceKey: '[ENC=PE9ianMgVmVy...=]'