tis-datadog-agent icon

Datadog Agent

Paquet d’installation silencieuse pour Datadog Agent

7.69.2-2

  • package: tis-datadog-agent
  • name: Datadog Agent
  • version: 7.69.2-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.2-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      : 9961f780-2c51-408a-869b-d97e288c40ce
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-25T15:00:23.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         : F/x3d1hXLGioC3vgNH0rIRkV2V43zm86HQlvj/w6opGhmEtEbowZ3P68LcTOBATg5SYMHf7cTE5Ko9+/FYBLfYe9n0pPUxbElSwnoZLHd+vm1qZI4aRQ/seLDScUJSc1wmc3K0h5IAWK1MrtUsFUXNvuPFIK8obIypia5s3LtBoHh8CEc5ptBLFxzq4MzSfOSoW08oQF4/zPKMQVxGc/M36NzUBXjzxxAuuLeesJYjX8C3tM3qNvlTsqtgwUd13iD9e4jt2TA+8TBno5+rfL4Fwy+BsEwymeGI+M1ljZPu7ixHiP3QI1j5glzPZN79Hyqws0xeVOjJFOgh9FY1ey5Q==

# -*- 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
00ef13de19ca71e2a67ca42957479b9bded7985698b747236a8304633991306e : WAPT/control
e24a46ffe50b13a11cc2752134629f18890fcd80ca05ae10339ffae05fb9a040 : WAPT/icon.png
d761a0981a4dd9841eb71b354e6176b854b8eef8c172ce644674ce4e12bf8325 : datadog-agent-7.69.2-1.msi
70f7b1ddcc448dfbba9a1fbe179a34ec17041331df07c9ea67fda4fdfdff96ac : luti.json
5e062a46f77fa9adf9e107ea5f6c46307356e9700d4dfa0c34a5e15316a16c09 : setup.py
166faaa800660d64ad733dcefcf589887c08e9809ef20cfa38977fa15f06f646 : update_package.py