@olivierlambert you guys are awesome!
Thanks for thinking in the possibilite
Latest posts made by r0123456789
-
RE: hosts stats rest api
-
RE: hosts stats rest api
@olivierlambert Thanks for the reply!
I have some scripts that collect cpu usage data and record this information in a database and make grafana search for this data to generate consumption graphs in "real time"
I tried to use netdata but when my hosts use 100% CPU netdata stop to collect and with netdata I can't see all CPU usage like xo-cli or "xe data-source=cpu"
I want to stop using ssh and xo-cli and use just the rest api to collect all my data.
-
hosts stats rest api
Hello guys!
Thanks for the nice work with the rest API, it help a lot.
Can I ask to add stats hosts in the API?
Can be similar to xo-cli host.stats.
Today for see how many resources cpu my host using i need to use xo-cli or connect to ssh and use host-data-xe source-query data-source=cpu(X).Will be a nice feature.
Thanks! -
RE: REST API
Hello guys!
There is a way on rest api to change vms tags?
I tried something like this:
curl -b authenticationToken=MYTOKEN -X POST -d "{"tags":"MYTAG"}" https://ENDPOINT/rest/v0/vms/UUID
and i got this error:
<pre>Cannot POST /rest/v0/vms/UUID</pre>
Thanks!