GrafanaOSS
Silent install package for GrafanaOSS
12.3.2-8
- package: tis-grafana
- name: GrafanaOSS
- version: 12.3.2-8
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: GNU AFFERO GENERAL PUBLIC LICENSE
- target_os: windows
- impacted_process: grafana
- architecture: x64
- signature_date:
- size: 329.63 Mo
- homepage : https://grafana.com/grafana/
package : tis-grafana
version : 12.3.2-8
architecture : x64
section : base
priority : optional
name : GrafanaOSS
categories :
maintainer : WAPT Team,Tranquil IT,Amel FRADJ
description : Grafana is a feature-rich, open source metrics dashboard and graph editor for Graphite, Elasticsearch, OpenTSDB, Prometheus and InfluxDB
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process : grafana
description_fr : Grafana est un tableau de bord de métriques open source et riche en fonctionnalités et un éditeur de graphiques pour Graphite, Elasticsearch, OpenTSDB, Prometheus et InfluxDB
description_pl : Grafana to bogaty w funkcje pulpit nawigacyjny i edytor wykresów typu open source dla Graphite, Elasticsearch, OpenTSDB, Prometheus i InfluxDB
description_de : Grafana ist ein funktionsreiches Open-Source-Dashboard für Metriken und ein Grafikeditor für Graphite, Elasticsearch, OpenTSDB, Prometheus und InfluxDB
description_es : Grafana es un panel de métricas de código abierto con numerosas funciones y un editor de gráficos para Graphite, Elasticsearch, OpenTSDB, Prometheus e InfluxDB
description_pt : Grafana é um painel de métricas de código aberto rico em recursos e editor de gráficos para Graphite, Elasticsearch, OpenTSDB, Prometheus e InfluxDB
description_it : Grafana è un cruscotto di metriche open source ricco di funzionalità e un editor di grafici per Graphite, Elasticsearch, OpenTSDB, Prometheus e InfluxDB
description_nl : Grafana is een veelzijdig open source metriek dashboard en grafiekeditor voor Graphite, Elasticsearch, OpenTSDB, Prometheus en InfluxDB
description_ru : Grafana - это многофункциональная панель метрик с открытым исходным кодом и редактор графов для Graphite, Elasticsearch, OpenTSDB, Prometheus и InfluxDB
audit_schedule :
editor :
keywords :
licence : GNU AFFERO GENERAL PUBLIC LICENSE
homepage : https://grafana.com/grafana/
package_uuid : 36b25fd1-37ee-40e3-9bf0-30ed5d96a9ba
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10.0
max_os_version :
icon_sha256sum : 4f5c0594b5b2cbdf20cd771c1d289bf4d81d9c556ffdb91af0869e283c5d2587
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2026-02-07T13:16:15.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 : I2WFfJyOF1JiGulfnH2d0qdpjXFRUy4FICzOQS5uj8snY+otkSMwwEZwteI8sAFzfdb18gvdhLP86+Z6GTe1W0i9KKd8cldFwF1DxkTbVv3g9jjihkWDMe2gYdK3i3nBIUOWtyskBZQQpoek2BJubccqNOWec0TGDU3K06MdTuoriuI5McUYr+fx3qrhWKNmPAEYml46yuWPzbcWSX8lMm8Ar19klpiTwkWDmB8VnWaC3ZFLYBi4Iqr+YzXmx4X9eNiKUnVik0BnpHBu1z1eQpSJ0flvpqQhVUYwZ9w9bn9U57gb5XoWQPi8RkGbD9vxg7HzYAY0ouLsY+TLTT7pEw==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
bin_name = glob.glob("grafana*amd64.msi")[0]
# Uninstalling the software
for to_uninstall in installed_softwares("Grafana"):
if Version(to_uninstall["version"]) < Version(control.get_software_version()) or force:
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"])
install_msi_if_needed(
bin_name,
name="GrafanaOSS",
min_version=control.get_software_version(),
timeout=600,
)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
url_base = "https://grafana.com/api/grafana/versions/stable"
data = wgets(url_base, proxies=proxies, as_json=True)
version = data["version"]
update_dict = {
'windows-x64': 'windows_amd64.msi',
'debian_based-x64': 'linux_amd64.deb',
'debian_based-arm64': 'linux_arm64.deb',
'darwin-x64': 'darwin_amd64.tar.gz',
'darwin-arm': 'darwin_arm64.tar.gz',
}
os_type = control.target_os + "-" + ensure_list(control.architecture)[0]
for package in data['packages']:
if package['url'].endswith(update_dict[os_type]):
download_url = package['url']
latest_bin = download_url.rsplit('/', 1)[-1]
latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
# Downloading latest binaries
print(f"Latest {app_name} version is: {version}")
print(f"Download URL is: {download_url}")
if not isfile(latest_bin):
print(f"Downloading: {latest_bin}")
wget(download_url, latest_bin, proxies=proxies)
else:
print(f"Binary is present: {latest_bin}")
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
package_updated = True
else:
print(f"Software version up-to-date ({Version(version)})")
for f in glob.glob(f'*.{latest_bin_extension}'):
if f != latest_bin:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
28050b3f6dbb0c214624ae028310a5bd988cedaa4b4fd1d72665d2973a8ba83b : WAPT/control
4f5c0594b5b2cbdf20cd771c1d289bf4d81d9c556ffdb91af0869e283c5d2587 : WAPT/icon.png
1cac4af74ad136594076cb4671025d0f7e26bf7fe790b522e72189953f4ffd21 : grafana_12.3.2_21390657659_windows_amd64.msi
61199123c9874232a9fb720d588433268d91d55f84f972583116d526794ff321 : luti.json
dfe632f847ec632a9384003a77ab3dff4a28efff6db36240229a1cf8a89f6fc7 : setup.py
97c00ec056e604b430f31c4a0c7332d21126350919b2126312be19ee3d36707a : update_package.py