Hi everyone,
I need to execute custom shell commands on Proxmox hosts to gather additional hardware information that's not exposed through the standard API endpoints.
What I need:I want to run commands like
directly on the Proxmox host to collect hardware details not available via /nodes/{node}/hardware.
What I've tried:I found the /nodes/{node}/execute endpoint, but the documentation indicates this is for executing Proxmox API commands in batch, not shell commands on the host itself.
Question:Is there a way to execute custom shell commands on a Proxmox host via the REST API, or do I need to use SSH for this type of system introspection?
Any guidance would be much appreciated!
Thanks!
I need to execute custom shell commands on Proxmox hosts to gather additional hardware information that's not exposed through the standard API endpoints.
What I need:I want to run commands like
Code:
dmidecode -s system-serial-number
What I've tried:I found the /nodes/{node}/execute endpoint, but the documentation indicates this is for executing Proxmox API commands in batch, not shell commands on the host itself.
Question:Is there a way to execute custom shell commands on a Proxmox host via the REST API, or do I need to use SSH for this type of system introspection?
Any guidance would be much appreciated!
Thanks!