iquzart.windows_exporter
Windows Exporter
Rôle Ansible pour la configuration de Windows Exporter.
Fonctionnalités
1. Télécharger et installer Windows Exporter.
2. Configurer Windows Exporter avec le fichier config.yaml.
3. Activer les collecteurs en fonction de la disponibilité des services dans le système cible (IIS, MSSQL, ADDC, ADCS, MSMQ).
4. Mettre à niveau ou rétrograder la version de Windows Exporter.
5. Adresse d'écoute et port configurables pour le service.
6. Configurer le pare-feu Windows.
Variables du rôle
| Variable | Description | Par défaut |
|---|---|---|
| windows_exporter_common_collectors | collecteurs communs à activer | cpu, cs, logical_disk, memory, net, os, process, service, system, tcp, textfile |
| windows_exporter_version | Version de Windows Exporter à installer | 0.19.0 |
| windows_exporter_download_url | URL du fichier MSI de Windows Exporter | https://github.com/prometheus-community/windows_exporter/releases |
| windows_exporter_service_name | Nom du service Windows Exporter | windows_exporter |
| windows_exporter_listen_address | Adresse d'écoute du service Windows Exporter | 0.0.0.0 |
| windows_exporter_port | Port de Windows Exporter | 9182 |
| windows_exporter_install_path | Chemin d'installation de Windows Exporter | C:\Program Files\windows_exporter |
| windows_exporter_textfile_collector_directory | Répertoire du collecteur de fichiers texte de Windows Exporter | C:\Program Files\windows_exporter\textfile_inputs |
| windows_exporter_download_path | Chemin de téléchargement du MSI | C:\Install\exporters |
| windows_exporter_log_level | Niveau de journalisation | debug |
| windows_exporter_start_mode | Mode de démarrage du service Windows Exporter | delayed |
| windows_exporter_configure_firewall | Configurer le pare-feu pour Windows Exporter | true |
Exemple de Playbook
- hôtes: serveurs
rôles:
- iquzart.windows_exporter
Licence
MIT
Informations sur l'auteur
Muhammed Iqbal iquzart@hotmail.com
À propos du projet
Setup Windows Exporter
Installer
ansible-galaxy install iquzart.windows_exporterLicence
Unknown
Téléchargements
1.9k
Propriétaire
Open Source Enthusiast
