[PVE-User] PNG Error on Proxmox Rest API rrd
jcerdan at tecob.com
jcerdan at tecob.com
Thu Nov 21 16:35:56 CET 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 21/11/13 16:25, Dietmar Maurer wrote:
>> In fact, I'm doing it in PHP and using the API Rest but I tested
>> also in a terminal as in PHP I get the same error. All png images
>> from rrd are bad.
>
> I guess you simply use the wrong url (/api2/json/) - you should use
> /api2/png instead:
>
> https://your.host.com:8006/api2/png/nodes/{NODE}/openvz/{VMID}/rrd?timeframe=day&ds=cpu
>
>
Well, it's indicated in the api doc [1] that to acces rrd we should
use GET /api2/json/nodes/{node}/openvz/{vmid}/rrd
I guess that should be corrected isn't it?
[1] http://pve.proxmox.com/pve2-api-doc/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlKOKFsACgkQI1eRLmOdtQTkqgCdHd+E5OovX8sLz7TH07J8Ig9f
BYkAn0HiMLwOTmMbBi62cRLaVH7EP75k
=yvLR
-----END PGP SIGNATURE-----
More information about the pve-user
mailing list