Monitoring Proxmox host

Egert143

Member
Mar 26, 2021
22
0
6
45
Hello

Is there possibility to read following entries via API or Snmp for monitoring purposes:

Host IO delay, cpu usage, ram usage, hd space(root) usage and swap usage ?

Egert
 
hi,

nodes have status API endpoint [0] which has the following info:
- cpu loadavg
- memory usage
- swap usage
- rootfs usage
- uptime
etc.

you can call it also via pvesh like so: pvesh get /nodes/{yournode}/status

i/o delay is missing, but can be obtained through other means. you can also make an enhancement request on our bug tracker if you'd like it to be included [1]

[0]: https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/status
[1]: https://bugzilla.proxmox.com
 
Thanks for the help. I also noticed that when i first did not login then api request cant be made. If request is done automaticaly via monitoring solutions then how does the authentication works and should i make a dedicated user for that ?
 
hi,

nodes have status API endpoint [0] which has the following info:
- cpu loadavg
- memory usage
- swap usage
- rootfs usage
- uptime
etc.

you can call it also via pvesh like so: pvesh get /nodes/{yournode}/status

i/o delay is missing, but can be obtained through other means. you can also make an enhancement request on our bug tracker if you'd like it to be included [1]

[0]: https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/status
[1]: https://bugzilla.proxmox.com
What are the other means to obtain i/o delay?
I try to find it but I couldn't.
Look forward to your answer sir. Already thank you.
 
I need to monitor I/O delay through Zabbix, my template is built upon the PVE API.