[pve-devel] API - Read VM RRD statistics

Christian Bourque christian.bourque at gmail.com
Mon Nov 21 20:16:46 CET 2011


It works :)

Just a question though: the API's documentation says that this URL should
return a PNG file but in fact only the filename of the generated file is
returned (not very handy if you're calling this service remotely)!

Would it be possible to return the actual file content (as an array of
bytes for instance)?

Thanks

Christian

On Nov 19, 2011 2:36 AM, "Dietmar Maurer" <dietmar at proxmox.com> wrote:
>
> hey, you should just pass the name of the data source, not the whole rrd
configuration!
>
>
>
> try:
>
>
>
> timeframe=hour ds=mem
>
>
>
>
>
>
>
> From: Christian Bourque [mailto:christian.bourque at gmail.com]
> Sent: Freitag, 18. November 2011 20:27
> To: Dietmar Maurer
> Subject: Re: [pve-devel] API - Read VM RRD statistics
>
>
>
> Request:
>
> timeframe=hour
> ds=DS:mem:GAUGE:120:0:U
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pve.proxmox.com/cgi-bin/mailman/private/pve-devel/attachments/20111121/9200e4ee/attachment.html>


More information about the pve-devel mailing list