all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH container 0/1] API endpoint to provide hardware sensor reading for Proxmox VE nodes.
@ 2025-10-14 19:36 Davide Guerri via pve-devel
  0 siblings, 0 replies; only message in thread
From: Davide Guerri via pve-devel @ 2025-10-14 19:36 UTC (permalink / raw)
  To: pve-devel; +Cc: Davide Guerri

[-- Attachment #1: Type: message/rfc822, Size: 6996 bytes --]

From: Davide Guerri <davide.guerri@gmail.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH container 0/1] API endpoint to provide hardware sensor reading for Proxmox VE nodes.
Date: Tue, 14 Oct 2025 21:36:08 +0200
Message-ID: <20251014193609.34452-1-davide.guerri@gmail.com>

The endpoint exposes via the REST API to read real-time hardware sensor
data from the system.

Main functionality:
- Temperature monitoring: Returns CPU, disk, and other temperature
  sensor readings in Celsius, including optional thresholds (max,
  critical) and core/package mappings for CPUs;
- Fan speed monitoring: Returns fan speeds in RPM, along with optional
  min/max values, target speeds, and alarm status.

This endpoint uses the PVE::SensorInfo module (submitted separately) to
gather sensor data from the underlying system.

It provides a hierarchical REST API at /nodes/{node}/hardware/sensors/

/sensors       -> GET index (returns: temperature, fan)
  /temperature -> GET index (returns: cpu, disk, other)
    /cpu       -> GET CPU temperature data
    /disk      -> GET disk temperature data
    /other     -> GET other temperature data
  /fan         -> GET fan speed data

Davide Guerri (1):
  api: add hardware sensors endpoint and API support

 PVE/API2/Hardware.pm         |   8 +-
 PVE/API2/Hardware/Makefile   |   1 +
 PVE/API2/Hardware/Sensors.pm | 420 +++++++++++++++++++++++++++++++++++
 3 files changed, 428 insertions(+), 1 deletion(-)
 create mode 100644 PVE/API2/Hardware/Sensors.pm

-- 
2.50.1 (Apple Git-155)



[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-10-14 21:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-14 19:36 [pve-devel] [PATCH container 0/1] API endpoint to provide hardware sensor reading for Proxmox VE nodes Davide Guerri via pve-devel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal