iquzart.windows_exporter
Windows Exporter
Windows Exporterのセットアップ用Ansibleロールです。
特徴
1. Windows Exporterをダウンロードしてインストールします。
2. config.yamlファイルを使ってWindows Exporterを設定します。
3. 対象システムのサービスの利用可能性に基づいてコレクターを有効にします(IIS、MSSQL、ADDC、ADCS、MSMQ)。
4. Windows Exporterのバージョンをアップグレードまたはダウングレードします。
5. サービスのリッスンアドレスとポートを設定可能です。
6. Windowsファイアウォールを設定します。
ロール変数
| 変数 | 説明 | デフォルト |
|---|---|---|
| windows_exporter_common_collectors | 有効にする共通コレクター | cpu, cs, logical_disk, memory, net, os, process, service, system, tcp, textfile |
| windows_exporter_version | インストールするWindows Exporterのバージョン | 0.19.0 |
| windows_exporter_download_url | Windows ExporterのMSI URL | https://github.com/prometheus-community/windows_exporter/releases |
| windows_exporter_service_name | Windows Exporterサービス名 | windows_exporter |
| windows_exporter_listen_address | Windows Exporterサービスのリッスンアドレス | 0.0.0.0 |
| windows_exporter_port | Windows Exporterのポート | 9182 |
| windows_exporter_install_path | Windows Exporterのインストールパス | C:\Program Files\windows_exporter |
| windows_exporter_textfile_collector_directory | Windows Exporterテキストファイルコレクターのディレクトリ | C:\Program Files\windows_exporter\textfile_inputs |
| windows_exporter_download_path | MSIダウンロードパス | C:\Install\exporters |
| windows_exporter_log_level | ログレベル | debug |
| windows_exporter_start_mode | Windows Exporterサービスのスタートモード | delayed |
| windows_exporter_configure_firewall | Windows Exporter用にファイアウォールを設定する | true |
例のプレイブック
- hosts: servers
roles:
- iquzart.windows_exporter
ライセンス
MIT
著者情報
Muhammed Iqbal iquzart@hotmail.com
インストール
ansible-galaxy install iquzart.windows_exporterライセンス
Unknown
ダウンロード
1.9k
所有者
Open Source Enthusiast
