tis-audit-glpi-inventory icon

GLPI Inventory with wapt

Paquet d’installation silencieuse pour GLPI Inventory with wapt

1.17-0

tis-audit-glpi-inventory

Le package tis-audit-glpi-inventory permet de déployer et d'exécuter l'outil GLPI Inventory sur les postes clients. Une fois l'inventaire réalisé, les données collectées sont automatiquement transmises à l'audit WAPT.

Les informations d'inventaire sont ensuite accessibles directement depuis la console WAPT, dans l'onglet Audit Data. Cela permet d'obtenir une vue détaillée et centralisée des données remontées vers le serveur GLPI, facilitant ainsi le suivi et la gestion des actifs informatiques.

Pour déployer GLPI avec WAPT, vous pouvez utiliser notre paquet tis-glpi-agent : https://wapt.tranquil.it/store/fr/tis-glpi-agent

Pour exporter automatiquement les informations vers votre serveur GLPI via WAPT, consultez le fonctionnement de notre paquet d'export en fonction de la version de votre GLPI.

  • package: tis-audit-glpi-inventory
  • name: GLPI Inventory with wapt
  • version: 1.17-0
  • maintainer: Simon Fonteneau
  • licence: GPL-2.0
  • locale: all
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 31.52 Mo
  • installed_size: 72.14 Mo
  • homepage : https://github.com/glpi-project/glpi-agent

package           : tis-audit-glpi-inventory
version           : 1.17-0
architecture      : x64
section           : base
priority          : optional
name              : GLPI Inventory with wapt
categories        : 
maintainer        : Simon Fonteneau
description       : GLPI Inventory with wapt
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : 
installed_size    : 72138232
impacted_process  : 
description_fr    : 
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 7d
editor            : 
keywords          : glpi
licence           : GPL-2.0
homepage          : https://github.com/glpi-project/glpi-agent
package_uuid      : 20237378-9484-4b86-9b52-ae901ccc1673
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : ff336ad8093a16abe7028748cdebfd0b9e789dd85f0b38d35d3dbdadbc8b6e97
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-04-06T14:02:27.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         : v0gyoFaX8iR4WYJ043qv66i/akPXbxbSjvk7t7rA3IQapsKw0ems+oaHfL50fq0JRPlUwbR/0kmaRJzMGhONV315OTx4MNWmdSXoqE3h/SOIu4CdN5HzXyjQioA8AwZ8qBf1sOK0QX2BbUESGBKelzaigIJUkxlnxxug4PZuSWOnPZd2AGoK0uvzW/d0f/DMowwQcee1qOyOBXu/aV5YCzPbeWjGmPRCgh6FVLvqwMmZ4LJI4az2Mo7RQthW5aUGj5DX8Xs33bjVKvhjwCDUH5uXlNS/r1TdEo+XC+8YkR7c7n0ev/NEixp10YNHe2oCj4xmOFq55NCI10gnobt82Q==

# -*- coding: utf-8 -*-
from setuphelpers import *
import json


def install():

    azip = glob.glob("*.zip")[0]
    unzip(azip,makepath(persistent_dir))


def audit():
    jsonfile = makepath(persistent_dir,'inventory.json')
    run('"%s" --json > "%s"' % (makepath(persistent_dir,'glpi-inventory.bat'),jsonfile))
    with open(jsonfile,'rb') as f:
        datajson = json.load(f)

    WAPT.write_audit_data_if_changed("audit-glpi-inventory", "audit-glpi-inventory", datajson, keep_days=365,max_count=1)

    return "OK"

# -*- coding: utf-8 -*-
from setuphelpers import *
import os
import json


def update_package():
    proxies = {}
    if isfile(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini")):
        proxywapt = inifile_readstring(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini"), "global", "http_proxy")
        if proxywapt:
            proxies = {"http": proxywapt, "https": proxywapt}

    currentpath = os.path.dirname(os.path.realpath(__file__))

    url_api = "https://api.github.com/repos/glpi-project/glpi-agent/releases"

    json_load = json.loads(wgets(url_api, proxies=proxies))

    found = False
    for releases in json_load:
        if found:
            break
        for download in releases["assets"]:
            if download["browser_download_url"].endswith("%s.zip" % control.architecture):
                url_dl = download["browser_download_url"]
                binary = url_dl.split("/")[-1]
                found = True
                break


    version = binary.split('-')[2]
    allexe = glob.glob("*.zip")
    for f in allexe:
        if f != binary:
            remove_file(f)

    if not isfile(binary):
        wget(url_dl,binary,proxies=proxies)


    control.version = version + "-0"
    control.save_control_to_wapt()

a69017c0012a80056ecfd138e3a6a6661d2c3289b97a6b229afdbd1986ba87f4 : GLPI-Agent-1.17-x64.zip
38c8623e9088462e2b3df23208a931e1421cb92f0f5f2fedc5863956782c17d0 : WAPT/README.md
f32688ea04bf89a3d5276423648ed59f80e4e2a3b8eca4fa04b1f5666f06e9ad : WAPT/README_fr.md
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
a87ecfe08fc273fad4b540d4e4da4fb509bde7fa37ce12234e6f6140567aa545 : WAPT/control
ff336ad8093a16abe7028748cdebfd0b9e789dd85f0b38d35d3dbdadbc8b6e97 : WAPT/icon.png
130ca7e8cf711d14d628db754ca6eb5263e7c83605e1c2ea32ab3222835d6e41 : luti.json
bf0c1836b5be16f1ec8a00b9657f76e3446dfedef6c7de0009c660fce1e82c57 : setup.py
cebd8b2dea75600eee27ac7ba96bcf1f2c8b4ecb55b51afbfdc6a03154959167 : update_package.py