Giter Site home page Giter Site logo

ansible.wmi_exporter's Introduction

Ansible Role: wmi_exporter

Build Status license Ansible Galaxy Ansible Role

Description

Ansible roles that installs wmi_exporter on a Windows system. Optionally with choco or as package.

Installation

ansible-galaxy install sbaerlocher.wmi_exporter

Requirements

Role Variables

Version and Architecture

Version and architecture of the wmi exporter to be installed.

wmi_exporter_version: 0.7.0
wmi_exporter_architecture: amd64

install Parameters

Windows installation parameters for the wmi_exporter. Link

As the --collectors.enabled flag, provide a comma-separated list of enabled collectors

wmi_exporter_enabled_collectors:

The IP address to bind to. Defaults to 0.0.0.0

wmi_exporter_listen_addr:

The port to bind to. Defaults to 9182.

wmi_exporter_listen_port:

The path at which to serve metrics. Defaults to /metrics

wmi_exporter_metrics_path:

As the --collector.textfile.directory flag, provide a directory to read text files with metrics from

wmi_exporter_textfile_dir:

Allows passing full CLI flags. Defaults to an empty string.

wmi_exporter_extra_flags:

Global Variable

Proxy

If a proxy is in use this information can be used. By default, proxy settings are taken from the default_* variables, if they are not defined they are ignored.

wmi_exporter_proxy: '{{ default_proxy | default(omit) }}'
wmi_exporter_proxy_password: '{{ default_proxy_password | default(omit) }}'
wmi_exporter_proxy_username: '{{ default_proxy_username | default(omit) }}'
wmi_exporter_validate_certs: '{{ default_validate_certs | default(true) }}'

Package

Download directory for the wmi export installations files.

wmi_exporter_download_directory: "{{ ansible_env.TEMP }}\\wmi_exporter"

Dependencies

Example Playbook

- hosts: all
  roles:
    - sbaerlocher.wmi_exporter

Changelog

Author

License

This project is under the MIT License. See the LICENSE file for the full license text.

Copyright

(c) 2019, Simon Bärlocher

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.