Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel,
n'hésitez pas à nous contacter.
Overview
This check monitors Proxmox through the Datadog Agent. Proxmox is an open-source server management platform. It supports running both VMs and containers. The Proxmox integration collects data about your Proxmox cluster including the status and performance of nodes, VMs, containers, and more.
Setup
Follow the instructions below to install and configure this check for an Agent running on a host. For containerized environments, see the Autodiscovery Integration Templates for guidance on applying these instructions.
Installation
Install the Datadog Agent and configure the Proxmox integration on one Proxmox node to collect information about your entire Proxmox Cluster. The Proxmox check is included in the Datadog Agent package. No additional installation is needed on your server.
Configuration
Create an API Token in your Proxmox Management Interface.
Edit the proxmox.d/conf.yaml
file, in the conf.d/
folder at the root of your Agent’s configuration directory to start collecting your proxmox performance data. See the sample proxmox.d/conf.yaml for all available configuration options. Ensure you have set the following parameters:
instances:
- proxmox_server: http://localhost:8006/api2/json
headers:
Authorization: PVEAPIToken=<USER>@<REALM>!<TOKEN_ID>=<YOUR_TOKEN>
Restart the Agent.
Validation
Run the Agent’s status subcommand and look for proxmox
under the Checks section.
Data Collected
Metrics
| |
---|
proxmox.api.up (gauge) | Whether or not the proxmox API is reachable |
proxmox.container.count (gauge) | Timeseries with value 1 for each Container. Make ‘sum by {X}’ queries to count all the Containers with the tag X. |
proxmox.container.up (gauge) | Whether or not the container is up |
proxmox.cpu (gauge) | |
proxmox.cpu.avg1 (gauge) | CPU load average over 1 minute. |
proxmox.cpu.avg15 (gauge) | CPU load average over 15 minutes. |
proxmox.cpu.avg5 (gauge) | CPU load average over 5 minutes. |
proxmox.cpu.current (gauge) | |
proxmox.cpu.iowait (gauge) | |
proxmox.cpu.max (gauge) | |
proxmox.disk (gauge) | |
proxmox.disk.max (gauge) | |
proxmox.disk.read (count) | |
proxmox.disk.total (gauge) | |
proxmox.disk.used (gauge) | |
proxmox.disk.write (count) | |
proxmox.ha.quorate (gauge) | Whether or not the cluster is in quorate |
proxmox.ha.quorum (gauge) | Whether or not the node is in quorum |
proxmox.mem (gauge) | |
proxmox.mem.max (gauge) | |
proxmox.mem.total (gauge) | |
proxmox.mem.used (gauge) | |
proxmox.net.in (count) | |
proxmox.net.out (count) | |
proxmox.node.count (gauge) | Timeseries with value 1 for each Node. Make ‘sum by {X}’ queries to count all the Nodes with the tag X. |
proxmox.node.up (gauge) | Whether or not the Node is up |
proxmox.pool.count (gauge) | Timeseries with value 1 for each Pool. Make ‘sum by {X}’ queries to count all the Pools with the tag X. |
proxmox.sdn.count (gauge) | Timeseries with value 1 for each SDN. Make ‘sum by {X}’ queries to count all the SDNs with the tag X. |
proxmox.sdn.up (gauge) | Whether or not the SDN is up |
proxmox.storage.count (gauge) | Timeseries with value 1 for each Storage object. Make ‘sum by {X}’ queries to count all the storage objects with the tag X. |
proxmox.storage.up (gauge) | Whether or not the storage is available |
proxmox.swap.total (gauge) | |
proxmox.swap.used (gauge) | |
proxmox.uptime (gauge) | |
proxmox.vm.count (gauge) | Timeseries with value 1 for each VM. Make ‘sum by {X}’ queries to count all the VMs with the tag X. |
proxmox.vm.up (gauge) | Whether or not the VM is up |
Logs
To collect logs from all of the Proxmox services on your node:
Enable log collection in your datadog.yaml
file:
Uncomment and edit the logs configuration block in your proxmox.d/conf.yaml
file. For example:
logs:
- type: journald
source: proxmox
include_units:
- pveproxy.service
- pvedaemon.service
- pve-firewall.service
- pve-ha-crm.service
- pve-ha-lrm.service
- pvescheduler.service
- pvestatd.service
- qmeventd.service
Events
The Proxmox integration does not include any events.
Service Checks
The Proxmox integration does not include any service checks.
Troubleshooting
Need help? Contact Datadog support.