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.
To install this role locally, simply run ansible-galaxy install git+https://github.com/Innoactive/ansible-oms-agent-for-linux.git,master.
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.
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 |
See svendewindt/ansible-oms-agent-role#example-playbook.
Apache 2.0