opspluslove.opsdash-agent
opsdash-agent
Ansible 角色用于安装和配置 OpsDash 代理
角色变量
# 默认值
opsdash_agent_server: "localhost"
opsdash_agent_name: "{{ ansible_hostname }} 代理"
opsdash_agent_metrics_port: 6273
opsdash_agent_data_port: 6273
opsdash_agent_access_logs:
- name: nginx
path: /var/log/nginx/access.log
- name: apache
path: "/var/log/httpd/access_log, /var/log/apache2/*access.log"
示例剧本
待完成