XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. r0123456789
    R
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Groups 0

    r0123456789

    @r0123456789

    11
    Reputation
    2
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    r0123456789 Unfollow Follow

    Latest posts made by r0123456789

    • RE: hosts stats rest api

      @olivierlambert you guys are awesome!
      Thanks for thinking in the possibilite

      posted in REST API
      R
      r0123456789
    • 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"

      Capturar.PNG

      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.

      posted in REST API
      R
      r0123456789
    • 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!

      posted in REST API
      R
      r0123456789
    • 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!

      posted in REST API
      R
      r0123456789