svendewindt.omsagentlinux

Ansible 角色用于在 Linux 上安装 Microsoft Operations Manager Agent 和 Dependency Agent

Microsoft Operations Manager Agent 连接到 Azure Operations Manager Suite (OMS) 工作区,这是 Microsoft Azure Monitor 解决方案 的一部分。该解决方案允许您收集和分析遥测数据,以最大化资源的性能和可用性。有关 Azure Monitor 的更多信息,请参阅 Microsoft 文档

此角色会安装 OMS Agent 和(可选)Dependency Agent。

需求

要使用这些代理,您需要一个配置好的 OMS 工作区。您需要一个 工作区 ID 和一个 工作区密钥。有关如何创建工作区的更多信息,请查阅 Microsoft 的 文档

角色变量

变量 默认值 注释(类型)
workspace_id - 必需。工作区 ID
workspace_key - 必需。工作区密钥
purge_oms_config False 可选。清除任何现有的 OMS Agent 配置并重新安装它
install_dependencyagent True 可选。是否安装 Dependency Agent,False 将删除该代理

依赖关系

没有特定的依赖关系。

示例剧本

以下是如何使用此角色的示例

---
- hosts: all
  roles:
    - svendewindt.omsagentlinux
  vars:
    - workspace_id: '260adb3c-007d-4704-a645-c8f2def53718'
    - workspace_key: '1111254hBqVldHplArZCuBlWoy6sJtJP8XSaLPHKNQYdVtrhOuwG/w0Cuc+F9HbPLEj6AvPVUKt6i/uXWAnooQ=='

许可证

2-clause BSD 许可证,见 LICENSE.md

贡献者

关于项目

Installs the Microsoft monitoring agent

安装
ansible-galaxy install svendewindt.omsagentlinux
许可证
other
下载
1k
拥有者