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]
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 ?
To use an API token, set the HTTP header Authorization to the displayed value of the form PVEAPIToken=USER@REALM!TOKENID=UUID when making API requests, or refer to your API client documentation.
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]