Présentation
Recueillez des métriques concernent le processeur, les E/S, la charge, la mémoire, le swap et l’uptime de votre système. Les checks suivants sont également liés au système :
- Check de répertoire : enregistrez des métriques à partir des fichiers de répertoires donnés.
- Check de disque : enregistrez des métriques sur vos disques.
- Check de processus : enregistrez des métriques à partir d’un processus en cours d’exécution spécifique sur un système.
Implémentation
Installation
Le check système est inclus avec le paquet de l’Agent Datadog. Vous n’avez donc rien à installer sur votre serveur.
Données collectées
Métriques
Événements
Le check système n’inclut aucun événement.
Checks de service
Le check système n’inclut aucun check de service.
Le tag host:<HOSTNAME>
est automatiquement appliqué à l’ensemble des métriques système. En outre, le tag device:<NOM_APPAREIL>
est appliqué aux espaces de nommage suivants :
system.disk.*
system.fs.inodes.*
system.io.*
system.net.*
Ce check recueille le nombre de cœurs du processeur sur un host ainsi que les temps processeur (système, utilisateur, inactivité, etc.).
Implémentation
Installation
Le check System Core est inclus avec le paquet de l’Agent Datadog. Vous n’avez donc rien à installer sur votre serveur.
Configuration
Modifiez le fichier system_core.d/conf.yaml
dans le dossier conf.d/
à la racine du répertoire de configuration de votre Agent. Consultez le fichier d’exemple system_core.d/conf.yaml pour découvrir toutes les options de configuration disponibles. Remarque : au moins une entrée est requise dans instances
pour activer le check. Exemple :
init_config:
instances:
- foo: bar
Redémarrez l’Agent.
Validation
Lancez la sous-commande status de l’Agent et cherchez system_core
dans la section Checks.
Données collectées
Métriques
| |
---|
system.core.count (gauge) | The number of CPU cores on the host Shown as core |
system.core.user (gauge) | The percentage of time a given CPU core has spent in user mode Shown as percent |
system.core.user.total (gauge) | The percentage of time the whole CPU has spent in user mode Shown as percent |
system.core.system (gauge) | The percentage of time a given CPU core has spent in kernel mode Shown as percent |
system.core.system.total (gauge) | The percentage of time the whole CPU has spent in kernel mode Shown as percent |
system.core.idle (gauge) | The percentage of time a given CPU core has spent idle Shown as percent |
system.core.idle.total (gauge) | The percentage of time the whole CPU has spent idle Shown as percent |
system.core.nice (gauge) | [Unix] The percentage of time a given CPU core has spent in niced (prioritized) processes in user mode Shown as percent |
system.core.nice.total (gauge) | [Unix] The percentage of time the whole CPU has spent in niced (prioritized) processes in user mode Shown as percent |
system.core.guest (gauge) | [Linux] The percentage of time a given CPU core has spent running a virtual CPU for guest operating systems under the control of the Linux kernel Shown as percent |
system.core.guest.total (gauge) | [Linux] The percentage of time the whole CPU has spent running a virtual CPU for guest operating systems under the control of the Linux kernel Shown as percent |
system.core.iowait (gauge) | [Linux] The percentage of time a given CPU core has spent waiting for I/O to complete Shown as percent |
system.core.iowait.total (gauge) | [Linux] The percentage of time the whole CPU has spent waiting for I/O to complete Shown as percent |
system.core.irq (gauge) | [Linux, BSD] The percentage of time a given CPU core has spent servicing hardware interrupts Shown as percent |
system.core.irq.total (gauge) | [Linux, BSD] The percentage of time the whole CPU has spent servicing hardware interrupts Shown as percent |
system.core.softirq (gauge) | [Linux, BSD] The percentage of time a given CPU core has spent servicing software interrupts Shown as percent |
system.core.softirq.total (gauge) | [Linux, BSD] The percentage of time the whole CPU has spent servicing software interrupts Shown as percent |
system.core.guest_nice (gauge) | [Linux] The percentage of time a given CPU core has spent running a niced guest Shown as percent |
system.core.guest_nice.total (gauge) | [Linux] The percentage of time the whole CPU has spent running running a niced guest Shown as percent |
system.core.steal (gauge) | [Linux] The percentage of time a given CPU core has spent running a virtual CPU for guest operating systems under the control of the Linux kernel Shown as percent |
system.core.steal.total (gauge) | [Linux] The percentage of time a given CPU core has spent running a virtual CPU for guest operating systems under the control of the Linux kernel Shown as percent |
system.core.interrupt (gauge) | [Windows] The percentage of time a given CPU core has spent servicing hardware interrupts Shown as percent |
system.core.interrupt.total (gauge) | [Windows] The percentage of time the whole CPU has spent servicing hardware interrupts Shown as percent |
system.core.dpc (gauge) | [Windows] The percentage of time a given CPU core has spent servicing deferred procedure calls (DPCs) Shown as percent |
system.core.dpc.total (gauge) | [Windows] The percentage of time the whole CPU has spent servicing deferred procedure calls (DPCs) Shown as percent |
system.core.frequency (gauge) | The frequency or clock speed a given CPU Shown as megahertz |
Depending on the platform, the check may collect other CPU time metrics, such as system.core.interrupt
on Windows, system.core.iowait
on Linux, etc.
Selon la plateforme, le check peut recueillir d’autres métriques de temps processeur, p. ex. system.core.interrupt
sous Windows, system.core.iowait
sous Linux, etc.
Événements
Le check System Core n’inclut aucun événement.
Checks de service
Le check System Core n’inclut aucun check de service.
Ce check surveille le nombre d’octets entrants et sortants du swap sur le système.
Implémentation
Installation
Le check System Swap est inclus avec le paquet de l’Agent Datadog. Vous n’avez donc rien à installer sur votre serveur.
Configuration
Modifiez le fichier system_swap.d/conf.yaml
dans le dossier conf.d/
à la racine du répertoire de configuration de votre Agent. Consultez le fichier d’exemple system_swap.d/conf.yaml pour découvrir toutes les options de configuration disponibles. Remarque : aucune configuration initiale n’est possible pour ce check.
Redémarrez l’Agent.
Validation
Lancez la sous-commande status de l’Agent et cherchez system_swap
dans la section Checks.
Données collectées
Métriques
| |
---|
system.swap.swapped_in (gauge) | Bytes of memory swapped in |
system.swap.swapped_out (gauge) | Bytes of memory swapped out |
Événements
Le check System Swap n’inclut aucun événement.
Checks de service
Le check System Swap n’inclut aucun check de service.