tis-datadog-agent icon

Datadog Agent

Paquet d’installation silencieuse pour Datadog Agent

7.69.1-2

  • package: tis-datadog-agent
  • name: Datadog Agent
  • version: 7.69.1-2
  • categories: System and network
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,cpe:/a:apache:license_2.0,wapt_public
  • target_os: windows
  • impacted_process: agent,ddtray,process-agent
  • architecture: x64
  • signature_date:
  • size: 154.60 Mo
  • installed_size: 754.02 Mo
  • homepage : https://docs.datadoghq.com/

package           : tis-datadog-agent
version           : 7.69.1-2
architecture      : x64
section           : base
priority          : optional
name              : Datadog Agent
categories        : System and network
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : The Datadog Agent is software that runs on your hosts. It collects events and metrics from hosts and sends them to Datadog, where you can analyze your    monitoring and performance data. The Datadog Agent is open source and its source code is available on GitHub at DataDog/datadog-agent
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : https://docs.datadoghq.com/agent/basic_agent_usage/windows/
installed_size    : 754021028
impacted_process  : agent,ddtray,process-agent
description_fr    : L'Agent Datadog est un logiciel qui s'exécute sur vos hôtes. Il collecte les événements et les métriques des hôtes et les envoie à Datadog, où vous pouvez analyser vos données de surveillance et de performances. L'Agent Datadog est open source et son code source est disponible sur GitHub à l'adresse DataDog/datadog-agent
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,cpe:/a:apache:license_2.0,wapt_public
homepage          : https://docs.datadoghq.com/
package_uuid      : a176e876-f9b2-4f78-a5ac-1d33c2afc324
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/DataDog/datadog-agent/releases
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : e24a46ffe50b13a11cc2752134629f18890fcd80ca05ae10339ffae05fb9a040
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-23T18:00:52.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         : dwmt4z9qJbrFK6SHp89jQ43Is9BCs50ABTX+BTWGQbP6bmIHR56KcWTpcw+dqWiHrOl3FdgQ8mYR1I/1gPu0OXfLg66UtcGbRrufAq10CQ69XlhWfNNCjA6ravjqKCmDqen1t5fFF4h+UZFYSh8f80KGOrSqUE///9ap5ARVKj9ZO5WJeCDxgmr49ur7s+goPBojj89Fvw24h1OmwKRx4+inN0UEvFVSFl4atFlqwLHigxsakc2e0WD91W2ITzLJDi4gIceB2DUS2Z/2JA7ESqLH0YulDDT+NM5QYAECQ3B7KWqq/2gt3nLsYBY/qMqcUws8uJuzg5+K7ecSl43ipg==

# -*- 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
    # last_package_version = control.get_software_version()
    # bin_name = f"ddagent-cli-{last_package_version}.msi"
    bin_name = glob.glob("datadog-agent-*.msi")[0]

    # Installing the software
    install_msi_if_needed(bin_name)

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


def update_package():
    # Declaration of local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    api_url = "https://ddagent-windows-stable.s3.amazonaws.com/installers_v2.json"

    # Get JSON data from API
    api_dict = wgets(api_url, proxies=proxies, as_json=True)

    # Check if key 'datadog-agent' exists in dictionary
    if "datadog-agent" in api_dict:
        # Determine latest version from JSON data
        last_version_key = max(api_dict["datadog-agent"].keys())  # use a lambda to make sure to compare digits
        last_version_info = api_dict["datadog-agent"][last_version_key]

        # Get installer URL for x86_64 architecture
        if "x86_64" in last_version_info:
            installer_url = last_version_info["x86_64"]["url"]
            latest_version = last_version_key

            print(f"Latest version available: {latest_version}")

            if not isfile(f"datadog-agent-{latest_version}.msi"):
                print(f"Downloading new version from {installer_url}")
                wget(installer_url, f"datadog-agent-{latest_version}.msi", proxies=proxies)

                # Cleaning temporary files
                for f in glob.glob("*.msi"):
                    if f != f"datadog-agent-{latest_version}.msi":
                        print(f"Removing file: {f}")
                        remove_file(f)

    version = latest_version.split("-")[0]

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating or not update-package-sources
    return package_updated

    # # Changing version of the package and validating update-package-sources
    # return complete_control_version(control, version)

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
384d11f6c38570f4a40bb80b5d3e49dd746fb727280f9ea0b16c8b29d0a9edc6 : WAPT/control
e24a46ffe50b13a11cc2752134629f18890fcd80ca05ae10339ffae05fb9a040 : WAPT/icon.png
aa62aeddb0b7e1bfd1ed3a0c6faf79d7b7e31952bead5dbd45ea22eba4e711b9 : datadog-agent-7.69.1-1.msi
a079b34b1cdf13c29e609debf9365dca880ab662026fdc75dcd614c3d275dcce : luti.json
5e062a46f77fa9adf9e107ea5f6c46307356e9700d4dfa0c34a5e15316a16c09 : setup.py
166faaa800660d64ad733dcefcf589887c08e9809ef20cfa38977fa15f06f646 : update_package.py