项目作者: locationlabs

项目描述 :
Ansible role for the host-sflow agent
高级语言:
项目地址: git://github.com/locationlabs/ansible-hsflowd.git
创建时间: 2019-06-14T22:03:37Z
项目社区:https://github.com/locationlabs/ansible-hsflowd

开源协议:Apache License 2.0

下载


hsflowd

This role installs the host-sflow agent for gathering and sending metrics using sFlow.

By default this role will install with DNS-SD off and require at least one collector configured.
Read the host-sflow docs on how to use DNS-SD.

Requirements

Requires:

  • ansible >= 2.4

Role Variables

Minimal required variables:

  • hsflowd_url: URL of the hsflowd package - See their github releases or build/provide your
    own
    • hsflowd_package_name: Alternatively if a URL is not provided, will attempt to install from the
      target’s available repos using this package name
  • hsflowd_collectors: A list of sflow collectors, at least one must be defined

See defaults/main.yml for example variable usage based on sflow documentation examples to
configured additional modules.

Dependencies

None

Example Playbook

Minimal required example:

  1. - hosts: servers
  2. tasks:
  3. - import_role:
  4. name: hsflowd
  5. vars:
  6. hsflowd_url: https://github.com/sflow/host-sflow/releases/download/v2.0.19-1/hsflowd-centos7-2.0.19-1.x86_64.rpm
  7. hsflowd_collectors:
  8. - ip: 10.100.12.13