
GrafanaOSS
Silent install package for GrafanaOSS
12.0.0.0-1
- package: tis-grafana
- name: GrafanaOSS
- version: 12.0.0.0-1
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: GNU AFFERO GENERAL PUBLIC LICENSE
- target_os: windows
- architecture: x64
- signature_date:
- size: 313.81 Mo
- homepage : https://grafana.com/grafana/
package : tis-grafana
version : 12.0.0.0-1
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 :
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 : 2b7bb366-26bf-4a75-b51b-9a277543f1aa
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 : 2025-05-10T16:03:38.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 : Le+7ViCjTdcmA1Z8FKC1+Fjgsjmf7eSVTa1/sFNV5A+bG2Gr/QweBvfin03Vfj3z/dqdMG0ut6dCg6KIfZd7uvBPxtHOwPAr5ilRiaQ0w/SaXEc/bDGvVhK4O5WEhYUYu6u0+hgijHJlhV2+sZ3PCjCHZFJgXK99eQrwlJF6swGMhJLS/eQgW5vPePq/cHAYu4YUsrEKC6rn7cZ7OoanLpkyA6lhWdqTNqMqQLBkjzXvK9O6RR1Qe3C4uwEi2iYLK4z0+KD12ttiDqMFzTAHPY1ivm091AeOdvDyH0wNvDyhF0tuUpDqqWeJY/fmdZj9/bZO2t6rUkoFSd+cK+Bk3A==
# -*- 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():
bin_name = glob.glob("grafana-*.msi")[0]
for u in installed_softwares('grafana'):
if Version(u['version']) < Version(control.get_software_version()):
run(uninstall_cmd(u['key']))
install_msi_if_needed(
bin_name,
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_from_wapt_console()
if not proxies:
proxies = get_proxies()
url_base = "https://grafana.com/grafana/download?edition=oss&platform=windows"
response = requests.get(url_base,allow_redirects=True, proxies=proxies)
# Extract the correct div using bs_find_all
divs = bs_find_all(response.text, "div","class","download-package", proxies=proxies)
msi_file = None
for div in divs:
if msi_file:
break
links = div.find_all('a', href=True)
for link in links:
if link['href'].endswith('.msi'):
href = link['href']
msi_file = href
download_url = msi_file
latest_bin = msi_file.split('/')[-1]
version = latest_bin.split("-")[1].split('.windows')[0]
break
# Downloading latest binaries
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
package_updated = True
else:
print("Binary is present: %s" % latest_bin)
# Deleting outdated binaries
for f in glob.glob('*.zip'):
if f != latest_bin:
remove_file(f)
version = get_version_from_binary(latest_bin)
# Mettre à jour le package
control.set_software_version(version)
control.save_control_to_wapt()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
572277b1c2acb8022e7a2d46a0ec6f92803c6ce32d8cd190d3d8fbf5b514b2ba : WAPT/control
4f5c0594b5b2cbdf20cd771c1d289bf4d81d9c556ffdb91af0869e283c5d2587 : WAPT/icon.png
0958949620cc5149668b004917c0dc1a73424b4f0cb1b007828eea4875e850f8 : grafana-12.0.0.windows-amd64.msi
fdcbecbbae71f2eb7dc658bd9bc69e553996b0fb82f14357d716eaafe3adcd6f : luti.json
ad5179950b58355ff1133f421dcd9de9dcd8ff798149ce4bb427395c26633a5c : setup.py
58e82474595370b0f04e5ad6ac91ad73e7e5480ce0492dca4264e010b88f2c65 : update_package.py