Giter Site home page Giter Site logo

bluppfisk / ansible-role-windows_exporter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danielweeber/ansible-role-windows_exporter

0.0 0.0 0.0 18 KB

Ansible role - Windows exporter

Home Page: https://galaxy.ansible.com/danielweeber/windows_exporter

License: MIT License

ansible-role-windows_exporter's Introduction

CI

Ansible Role: Windows exporter

This role installs Prometheus' Windows exporter on Windows hosts.

Requirements

N/A

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

windows_exporter_version: '0.18.1'

The version of Windows exporter to install. Available releases can be found on the tags listing in the Windows exporter repository. Drop the v off the tag.

If you change the version, the windows_exporter binary will be replaced with the updated version, and the service will be restarted.

windows_exporter_arch: 'amd64'
windows_exporter_download_url: https://github.com/prometheus-community/windows_exporter/releases/download/v{{ windows_exporter_version }}/windows_exporter-{{ windows_exporter_version }}-{{ windows_exporter_arch }}.msi


windows_exporter_bin_path: 'C:\Windows\temp\windows_exporter-{{ windows_exporter_version }}-{{ windows_exporter_arch }}.msi'

The path where the windows_exporter binary will be downloaded and installed from.

windows_exporter_listen_address: '0.0.0.0'
windows_exporter_listen_port: 9182
windows_exporter_textfile_dir: null

Commonly used service options.

windows_exporter_options: ''

Any additional options to pass to windows_exporter when it starts, e.g. --no-collector.wifi if you want to ignore any WiFi data. Need to use MSI Parameters as stated in https://github.com/prometheus-community/windows_exporter#installation

windows_exporter_state: started
windows_exporter_start_mode: delayed

Controls for the windows_exporter service. windows_exporter_start_mode controls the start_mode of the service. windows_exporter_state controls the state of the service on the host.

Dependencies

None.

Example Playbook

- hosts: all
  roles:
    - role: danielweeber.windows_exporter

License

MIT / BSD

Author Information

This role was created in 2021 by Daniel Weeber. Heavily inspired and forked from Jeff Geerling, author of Ansible for DevOps.

ansible-role-windows_exporter's People

Contributors

bluppfisk avatar brandonmcclure avatar danielweeber avatar dweebertwt avatar

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.