iquzart.windows_exporter
Windows Exporter
This is an Ansible role for setting up Windows Exporter.
Features
- Download and install Windows Exporter.
- Set up Windows Exporter using a
config.yaml
file. - Enable data collectors based on available services in the target system (like IIS, MSSQL, etc.).
- Upgrade or downgrade the Windows Exporter version.
- Choose a specific address and port for the service to listen on.
- Configure the Windows Firewall settings.
Role Variables
Variable | Description | Default |
---|---|---|
windows_exporter_common_collectors | Common collectors to enable | cpu, cs, logical_disk, memory, net, os, process, service, system, tcp, textfile |
windows_exporter_version | Version of Windows Exporter to install | 0.19.0 |
windows_exporter_download_url | URL for Windows Exporter MSI | https://github.com/prometheus-community/windows_exporter/releases |
windows_exporter_service_name | Name of the Windows Exporter service | windows_exporter |
windows_exporter_listen_address | Address for Windows Exporter service to listen on | 0.0.0.0 |
windows_exporter_port | Port for Windows Exporter | 9182 |
windows_exporter_install_path | Path to install Windows Exporter | C:\Program Files\windows_exporter |
windows_exporter_textfile_collector_directory | Directory for text file collectors | C:\Program Files\windows_exporter\textfile_inputs |
windows_exporter_download_path | Path for MSI download | C:\Install\exporters |
windows_exporter_log_level | Level of logging | debug |
windows_exporter_start_mode | Start mode for the Windows Exporter service | delayed |
windows_exporter_configure_firewall | Whether to configure the firewall for the exporter | true |
Example Playbook
- hosts: servers
roles:
- iquzart.windows_exporter
License
MIT
Author Information
Muhammed Iqbal iquzart@hotmail.com
Informazioni sul progetto
Setup Windows Exporter
Installa
ansible-galaxy install iquzart.windows_exporter
Licenza
Unknown
Download
1.9k
Proprietario
Open Source Enthusiast