Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Guest Configuration Policy Azure monitor agent #1082

Open
Acenl12 opened this issue Jan 9, 2023 · 5 comments
Open

Azure Guest Configuration Policy Azure monitor agent #1082

Acenl12 opened this issue Jan 9, 2023 · 5 comments

Comments

@Acenl12
Copy link

Acenl12 commented Jan 9, 2023

It looks like we can only configure one Log Analytics using guest configuration policies to configure the Azure Monitor Agent (MMAAgent). And I'm looking for only policy which enabled to configure multi homing because we have that scenario.

@shayoniseth
Copy link

While the title says Azure Monitor agent, the issue description says MMA agent.

@guidovbrakel Can you perhaps clarify which agent, and also post a link to the policy in question?

@Acenl12
Copy link
Author

Acenl12 commented Jan 18, 2023 via email

@shayoniseth
Copy link

@guidovbrakel Can you please help me understand what exactly are you looking for? Do you need an Azure Policy to install the new Azure Monitor Agent?

@Acenl12
Copy link
Author

Acenl12 commented Jan 30, 2023 via email

@p1johnson
Copy link

The new Azure Monitor Agent uses Data Collection rules to define where to send data. You could create a Data Collection Rule to send data to two different Log Analytics workspaces. See this documentation for Data Collection Rules -

https://learn.microsoft.com/en-gb/azure/azure-monitor/agents/data-collection-rule-sample-agent

https://learn.microsoft.com/en-gb/azure/azure-monitor/agents/data-collection-rule-sample-agent

You could look at the following Azure Policy Initiative to Configure Windows machines to run Azure Monitor Agent and associate them to a Data Collection Rule -

https://github.com/Azure/azure-policy/blob/master/built-in-policies/policySetDefinitions/Monitoring/AzureMonitor_WindowsPlatform_EnableDCR.json

There are similar policy initiatives for Linux and Azure Arc onboarded servers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants