/ansible-oms-agent-for-linux

Installs the Microsoft Operations Management Suite Agent according to https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agent-linux#install-the-agent-using-wrapper-script

Apache License 2.0Apache-2.0

OMS-Agent for Linux

Installs the Microsoft Operations Management Suite Agent with support for container monitoring. This is largely based on the excellent svendewindt.omsagentlinux-role which installs the oms-agent for linux. Since we also want to monitor docker containers though, we need to apply the workaround stated in the release notes of the docker-based oms-agent.

Installation

To install this role locally, simply run ansible-galaxy install git+https://github.com/Innoactive/ansible-oms-agent-for-linux.git,master.

Requirements

The host this role is applied to needs to be running docker (otherwise container monitoring will not work); to meet this requirement, use e.g. the docker role.

Role Variables

The variables have been partially taken from svendewindt.omsagentlinux:

Variable Default Comments (type)
workspace_id - Required. The workspace ID
workspace_key - Required. The workspace Key

Example Playbook

See svendewindt/ansible-oms-agent-role#example-playbook.

License

Apache 2.0