
- package: tis-prometheus-windows-exporter
- name: windows_exporter
- version: 0.31.0-1
- categories: System and network
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ,
- licence: opensource_free,wapt_private ,MIT license
- target_os: windows
- architecture: x64
- signature_date:
- size: 11.42 Mo
- homepage : https://github.com/prometheus-community/windows_exporter
package : tis-prometheus-windows-exporter
version : 0.31.0-1
architecture : x64
section : base
priority : optional
name : windows_exporter
categories : System and network
maintainer : WAPT Team,Tranquil IT,Amel FRADJ,
description : Prometheus exporter for Windows machines
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.3
sources :
installed_size :
impacted_process :
description_fr : Exportateur Prometheus pour machines Windows
description_pl : Eksporter Prometheus dla komputerów z systemem Windows
description_de : Prometheus-Exporter für Windows-Rechner
description_es : Exportador Prometheus para máquinas Windows
description_pt : Exportador do Prometheus para máquinas Windows
description_it : Esportatore Prometheus per macchine Windows
description_nl : Prometheus exporter voor Windows-machines
description_ru : Экспортер Prometheus для машин Windows
audit_schedule :
editor :
keywords :
licence : opensource_free,wapt_private ,MIT license
homepage : https://github.com/prometheus-community/windows_exporter
package_uuid : d316d7c8-5157-4813-ad4f-8aa50d45536a
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10.0
max_os_version :
icon_sha256sum : e07979df2f256448ae96465a7119d1089561f61d51c84d31f36f33299c2fbc3b
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-07-10T15:02:41.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : sHABAWkfiIr0uWdPub+jItsEZRf2nVutuxPLub3RuxqO2TIpYujT94K0rAflK5cwDfdtYx2WrDw9m+cCb2KK83qihHL5AmmOt2vxd9V/Q/SToRiE42YfimGW3L9Wk5jcgFvmlUC+/KR32Ub7kCWNrYbYycjTIkp/+uNoER3dbsk7yw4/RiFwYarKnbQ33h64/o44xEcbhZnYEbef/4BqSrYay7Koy6t/cOjVwrAqcOQlIxX6264q5S84JS7GM8my6+gScI0BueGiknj4LRIQ65eUoqLTeSQy0KpkVDxzcFD1vWETMPPCpJs24RxoEvuob6hhz87hBnKi6pBv2bPlmg==
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
bin_name = glob.glob("windows_exporter-*-amd64.msi")[0]
# Uninstalling older versions of the software
for to_uninstall in installed_softwares(name="windows_exporter"):
if Version(to_uninstall["version"]) < Version(control.get_software_version()):
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(ensure_list(control.impacted_process))
run(uninstall_cmd(to_uninstall["key"]))
wait_uninstallkey_absent(to_uninstall["key"])
if isdir(to_uninstall["install_location"]):
remove_tree(to_uninstall["install_location"])
# Installing the software
install_msi_if_needed(bin_name)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import json
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def update_package():
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
git_repo = "prometheus-community/windows_exporter"
url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
# Getting latest version information from official sources
print("API used is: %s" % url_api)
json_load = json.loads(wgets(url_api, proxies=proxies))
for download in json_load["assets"]:
if download["browser_download_url"].endswith('-amd64.msi') :
url_dl = download["browser_download_url"]
version = json_load["tag_name"].replace("v","")
filename = download["name"]
break
if not isfile(filename):
package_updated = True
wget(url_dl,filename,proxies=proxies)
#nettoyer les fichiers temporaires
for f in glob.glob('*.msi'):
if f != filename:
remove_file(f)
version =get_version_from_binary(filename)
control.set_software_version(version)
control.save_control_to_wapt()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e2a98481782a96bae31173a5afaea42a39b78bf5096ea5e7dc7cc3b3619e6920 : WAPT/control
e07979df2f256448ae96465a7119d1089561f61d51c84d31f36f33299c2fbc3b : WAPT/icon.png
0d30541939df1b6a270f292179dbe8da35499186971946846b318d96ae277f4a : luti.json
8747e3dbb626f28d7ed1cfeea1b78f3afbb0640b76b7ea0225a26156ec31b661 : setup.py
b1693e3f4e111d5884b2b9361866280a0f89a9ea84b4eff93d96e7c275a0d052 : update_package.py
35a06fe0faaaaf70d71c03c9e969b277780e0b10ab1f0068ad28fd0440d49671 : windows_exporter-0.31.0-amd64.msi