tis-datadog-agent icon

Datadog Agent

Paquet d’installation silencieuse pour Datadog Agent

7.72.3-2
System and network
System and network

  • package: tis-datadog-agent
  • name: Datadog Agent
  • version: 7.72.3-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: 157.18 Mo
  • installed_size: 754.02 Mo
  • homepage : https://docs.datadoghq.com/

package           : tis-datadog-agent
version           : 7.72.3-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      : 3f2d886e-736a-467e-af03-838ba633260b
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-12-01T14:01:37.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         : d9flRLCswU0ajRoApBaaGNuxBjSDUUscF/HASdMQ292OlyBXkKrZLTKWJbY//HAJJlxA1sVKF0OAbLk2sk09ljKYdsRTAiDAa/KPGcvuSG+TcKVo8rxxajxqxJw7PfvJJSjtB7Vi+dZEhZ4U07Ldyky7ImjJJYtnqWuNd7Xh3nMsPL8gH+hzMUdLINmmWBCOaCgaHXUzEgguuIyWiIFb+Ak1vK8RJx9AQTqyTS+wAfNGHvPppibn1A9nnkTNrv9G+mJYKFn88YSj7Zx3e38sKxA5NJdXEGB/N8Xjw0SKEtlUcTY6WcPYPLq9eDR5GSvMld9Na2kvMw4pNQ9k/ujazg==

# -*- 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
4d9082f11a8a6ccfc431d6b108fbc1f9734198df5bcd92632dfe5de55ec2db12 : WAPT/control
e24a46ffe50b13a11cc2752134629f18890fcd80ca05ae10339ffae05fb9a040 : WAPT/icon.png
6b00bb9ad6d0dff5533fedfe2cb0aa635203a9d3fd2e46eaa9103e30b90c63a1 : datadog-agent-7.72.3-1.msi
ccee1f8889a032521c27bfcb1b57bf2e8f8ab5591f01d2ebde67949f07f995c8 : luti.json
5e062a46f77fa9adf9e107ea5f6c46307356e9700d4dfa0c34a5e15316a16c09 : setup.py
166faaa800660d64ad733dcefcf589887c08e9809ef20cfa38977fa15f06f646 : update_package.py