Xen Project Q&A Forum: First Line Help for Simple Questions

This is your chance to ask questions and provide answers about basic use of the Xen Project software. For debugging problems and for more complex issues, consider using the xen-users mailing list instead. You can find information about xen-users under "HELP | Mailing Lists" in the navigation bar above.

Issue

Retrieve data from xe-host-data-source-record

posted in XAPI
Wednesday, September 18 2013, 04:50 PM
0
Hey guys,

I'm currently working on manpages for the host-data-source commands, and I'm curious how I retrieve the data being recorded by xe-host-data-source-record?

If anyone is interested... I really could use some one to show me how to at least read some of the XAPI source code, so I can see what is being called..It would really speed up my writing process.
Responses (2)
  • Accepted Answer

    Thursday, September 19 2013, 10:39 PM - #permalink
    0
    Nothing? :(
    The reply is currently minimized Show
  • Accepted Answer

    Jon Ludlam
    Jon Ludlam
    Offline
    Thursday, September 26 2013, 03:50 PM - #permalink
    0
    You can either use the CLI command 'xe host-data-source-query' to get the current value, or the previously recorded values can be got through the RRD HTTP API.

    See here for some docs on the RRDs:
    http://community.citrix.com/display/xs/Using+XenServer+RRDs
    The reply is currently minimized Show
Your Reply