Monitoring Proxmox host

Egert143

Member
Mar 26, 2021
22
0
6
44
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!